From 6e17d942d080f0c8849b0b86741bdaf2ecd5e0fe Mon Sep 17 00:00:00 2001 From: "E. Scott Daniels" Date: Thu, 14 Nov 2019 09:35:10 -0500 Subject: [PATCH] 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 --- sidecars/listener/Dockerfile | 2 -- 1 file changed, 2 deletions(-) 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 ---------------------------------- -- 2.16.6