Update SDC-Simulator base image to the latest 45/20345/1
authorTal Gitelman <tg851x@intl.att.com>
Tue, 24 Oct 2017 11:58:52 +0000 (14:58 +0300)
committerTal Gitelman <tg851x@intl.att.com>
Tue, 24 Oct 2017 11:58:52 +0000 (14:58 +0300)
Change-Id: I36a574755d8642ee6b7d16915bf078c382e5119a
Issue-Id: SDC-527
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
sdc-os-chef/sdc-backend/Dockerfile
sdc-os-chef/sdc-frontend/Dockerfile
utils/webseal-simulator/sdc-simulator/Dockerfile

index 7c6d8bf..e28a85d 100644 (file)
@@ -18,6 +18,4 @@ COPY startup.sh /root/
 
 RUN chmod 770 /root/startup.sh
 
-USER jetty
-
 ENTRYPOINT [ "/root/startup.sh" ]
index 91980cc..5039b08 100644 (file)
@@ -18,6 +18,4 @@ COPY startup.sh /root/
 
 RUN chmod 770 /root/startup.sh
 
-USER jetty
-
 ENTRYPOINT [ "/root/startup.sh" ]
index d418d46..e1a415f 100644 (file)
@@ -8,10 +8,12 @@ RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.pr
 
 ADD WSSimulator*.war                           ${JETTY_BASE}/webapps/
 
+USER root
+
 RUN chown -R jetty:jetty                               ${JETTY_BASE}/webapps
 
 COPY startup.sh /root/
 
-RUN chmod 770 /root/startup.sh
+RUN chmod 777 /root/startup.sh
 
 ENTRYPOINT [ "/root/startup.sh" ]