aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile')
-rw-r--r--openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile15
1 files changed, 7 insertions, 8 deletions
diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
index 29189dbb4c..8dfc8a86f5 100644
--- a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
+++ b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
@@ -1,14 +1,13 @@
-FROM onap/base_sdc-cqlsh:1.5.0-SNAPSHOT-latest
+FROM onap/base_sdc-cqlsh:1.6.0-SNAPSHOT-latest
-COPY init_keyspaces.cql /root/
+COPY --chown=sdc:sdc init_keyspaces.cql /home/sdc/
-COPY init_schemas.cql /root/
+COPY --chown=sdc:sdc init_schemas.cql /home/sdc/
-COPY alter_tables.cql /root/
+COPY --chown=sdc:sdc alter_tables.cql /home/sdc/
-COPY startup.sh /root/
+COPY --chown=sdc:sdc startup.sh /home/sdc/
-RUN chmod 770 /root/startup.sh
-
-ENTRYPOINT [ "/root/startup.sh" ]
+RUN chmod 770 /home/sdc/startup.sh
+ENTRYPOINT [ "/home/sdc/startup.sh" ]