From c175a0de2f05d37c1c774684318a525eb96bb59b Mon Sep 17 00:00:00 2001 From: Avi Ziv Date: Thu, 15 Mar 2018 13:21:44 +0200 Subject: Create on boarding docker Add BE and Cassandra init docker images Change-Id: Id9d767c73fc946819cec821b4634ce650cbb22fd Issue-ID: SDC-781 Signed-off-by: Michael Lando --- .../sdc-onboard-backend-docker/artifacts/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile (limited to 'openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile') diff --git a/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile new file mode 100644 index 0000000000..a3e56fde23 --- /dev/null +++ b/openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile @@ -0,0 +1,19 @@ +FROM onap/base_sdc-jetty:1.3.0-SNAPSHOT-latest + +COPY chef-solo /root/chef-solo/ + +COPY chef-repo/cookbooks /root/chef-solo/cookbooks/ + +ADD onboarding-be-*.war ${JETTY_BASE}/webapps/ + +ADD api-docs.war ${JETTY_BASE}/webapps/ + +USER root + +RUN chown -R jetty:jetty ${JETTY_BASE}/webapps + +COPY startup.sh /root/ + +RUN chmod 770 /root/startup.sh + +ENTRYPOINT [ "/root/startup.sh" ] -- cgit 1.2.3-korg