yate-image/Dockerfile
Stefan Bethke 5d92053be2
All checks were successful
image / docker (push) Successful in 4m44s
Configure library path and run yate
2025-07-04 20:41:30 +02:00

28 lines
573 B
Docker

FROM debian:12 AS builder
RUN true \
&& apt update \
&& apt install -y autoconf build-essential doxygen git \
&& true
RUN true \
&& git clone --depth 1 --branch 6.4.1 https://github.com/eventphone/yate.git \
&& true
RUN true \
&& cd yate \
&& ./autogen.sh \
&& ./configure --prefix=/opt/yate \
&& make \
&& make apidocs
RUN true \
&& cd yate \
&& make install
FROM debian:12
COPY --from=builder /opt/yate /opt/yate
RUN echo /opt/yate/lib >/etc/ld.so.conf.d/opt-yate.conf && ldconfig
CMD [ "/opt/yate/bin/yate", "-d" ]