Change the command line from CMD to ENTRYPOINT 51/8851/1
authorGuangrong Fu <fu.guangrong@zte.com.cn>
Sat, 26 Aug 2017 02:59:02 +0000 (10:59 +0800)
committerGuangrong Fu <fu.guangrong@zte.com.cn>
Sat, 26 Aug 2017 02:59:02 +0000 (10:59 +0800)
ENTRYPOINT as a substitute of CMD

Change-Id: Iec6f1fd4d94ac19bb319a78115e0bb026bb594e8
Issue-ID: HOLMES-42
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
dmaap-dsa-standalone/src/main/assembly/Dockerfile

index f0325da..77b1795 100644 (file)
@@ -37,6 +37,6 @@ ADD holmes-dsa-standalone-*-linux64.tar.gz /home/holmes/
 RUN chmod 755 /home/holmes/bin/*.sh
 
 
 RUN chmod 755 /home/holmes/bin/*.sh
 
 
-CMD /home/holmes/bin/run.sh
+ENTRYPOINT /home/holmes/bin/run.sh