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

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" ]