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

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

index 0cad89d..e91ec7c 100644 (file)
@@ -43,6 +43,6 @@ ADD holmes-rulemgt-standalone-*-linux64.tar.gz /home/holmes/
 RUN chmod 755 /home/holmes/bin/*.sh
 
 
-CMD /home/holmes/bin/run.sh
+ENTRYPOINT /home/holmes/bin/run.sh