diff --git a/docker/Dockerfile.rtp.io b/docker/Dockerfile.rtp.io index d40016cb25..4c07448633 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 apt-get install -y gpp python3-full +RUN cd dist/voiptests && python -m pip install -r requirements.txt +RUN cd dist/voiptests && sh -x ./test_run.sh