aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
blob: 8dfc8a86f590192be7f68c7478285c071c68d6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM onap/base_sdc-cqlsh:1.6.0-SNAPSHOT-latest

COPY --chown=sdc:sdc init_keyspaces.cql /home/sdc/

COPY --chown=sdc:sdc init_schemas.cql /home/sdc/

COPY --chown=sdc:sdc alter_tables.cql /home/sdc/ 

COPY --chown=sdc:sdc startup.sh /home/sdc/ 

RUN chmod 770 /home/sdc/startup.sh

ENTRYPOINT [ "/home/sdc/startup.sh" ]