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