From 9a43e96b5b01523072a1f7daf5caa67aa678ec7f Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Mon, 7 Oct 2024 16:10:20 -0700 Subject: [PATCH] + 48de680f4c9d87 --- docker/Dockerfile.rtp.io | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/Dockerfile.rtp.io b/docker/Dockerfile.rtp.io index d40016cb25..6ee677378f 100644 --- a/docker/Dockerfile.rtp.io +++ b/docker/Dockerfile.rtp.io @@ -27,3 +27,11 @@ RUN mkdir tmp && cd modules && mv ${KEEP_MODULES} ${SKIP_MODULES} ../tmp && \ rm -rf * && cd ../tmp && mv ${KEEP_MODULES} ${SKIP_MODULES} ../modules && \ cd .. && rmdir tmp RUN EXCLUDE_MODULES_ADD="${SKIP_MODULES}" sh -x scripts/build/do_build.sh +RUN apt-get install -y libsrtp2-dev lld-18 +RUN env ONE_MODULE=rtp.io LDFLAGS="-flto -fuse-ld=lld" CFLAGS=-flto \ + sh -x scripts/build/do_build.sh +ARG CC=${COMPILER} +RUN cd dist/rtpproxy && ./configure +RUN cd dist/voiptests && python -m pip install -r requirements.txt +RUN apt-get install -y gpp python3-pip +RUN cd dist/voiptests && sh -x ./test_run.sh