summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 5d7f8f2..837d144 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,13 @@
-FROM onap/base_sdc-jetty:1.4.1
+FROM onap/base_sdc-jetty:1.6.0
-COPY docker/chef-solo /root/chef-solo/
+COPY --chown=jetty:jetty docker/chef-solo ${JETTY_BASE}/chef-solo/
-COPY docker/chef-repo/cookbooks /root/chef-solo/cookbooks/
+COPY --chown=jetty:jetty docker/chef-repo/cookbooks ${JETTY_BASE}/chef-solo/cookbooks/
ADD --chown=jetty:jetty target/dcae-dt.war ${JETTY_BASE}/webapps/
-USER root
+COPY --chown=jetty:jetty docker/startup.sh ${JETTY_BASE}/
-COPY docker/startup.sh /root/
+RUN chmod 770 ${JETTY_BASE}/startup.sh
-RUN chmod 770 /root/startup.sh
-
-ENTRYPOINT [ "/root/startup.sh" ]
+ENTRYPOINT ${JETTY_BASE}/startup.sh