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

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