From: E. Scott Daniels Date: Thu, 14 Nov 2019 14:35:10 +0000 (-0500) Subject: Remove environment setup from listener dockerfile X-Git-Tag: 1.0.1~5^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F1599%2F1;p=ric-app%2Fmc.git Remove environment setup from listener dockerfile The dockerfile for the lisener image now uses a project image which includes the necessary NNG and RMR libraries and thus does not need to build them. The invocation of the build script to create these libraries was not remvoed from the docker file when the project image was added. This change removes the copy and execution of the script from the dockerfile. Signed-off-by: E. Scott Daniels Change-Id: I15735813d37debc014657a358aa2b2fad319da49 --- diff --git a/sidecars/listener/Dockerfile b/sidecars/listener/Dockerfile index f11a89f..134884f 100644 --- a/sidecars/listener/Dockerfile +++ b/sidecars/listener/Dockerfile @@ -58,12 +58,10 @@ RUN dpkg -i rmr-dev_${RMR_VER}_amd64.deb RUN mkdir /playpen/bin /playpen/src ARG SRC=. -COPY ${SRC}/build_dev_env.sh /playpen/bin/ COPY ${SRC}/Makefile ${SRC}/*.h ${SRC}/*.c /playpen/src/ ENV LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib ENV C_INCLUDE_PATH=/usr/local/include -RUN bash /playpen/bin/build_dev_env.sh RUN cd /playpen/src/; make -B mc_listener sender pipe_reader # ----- final, smaller image ----------------------------------