Remove environment setup from listener dockerfile 99/1599/1
authorE. Scott Daniels <daniels@research.att.com>
Thu, 14 Nov 2019 14:35:10 +0000 (09:35 -0500)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 14 Nov 2019 14:35:10 +0000 (09:35 -0500)
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 <daniels@research.att.com>
Change-Id: I15735813d37debc014657a358aa2b2fad319da49

sidecars/listener/Dockerfile

index f11a89f..134884f 100644 (file)
@@ -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 ----------------------------------