Ofir Sonsino | ddb1575 | 2020-03-19 10:34:49 +0200 | [diff] [blame] | 1 | FROM onap/base_sdc-cqlsh:1.6.1 |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 2 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 3 | COPY --chown=sdc:sdc init_keyspaces.cql /home/sdc/ |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 4 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 5 | COPY --chown=sdc:sdc init_schemas.cql /home/sdc/ |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 6 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 7 | COPY --chown=sdc:sdc alter_tables.cql /home/sdc/ |
Ben David, Elad (eb7504) | ee64a64 | 2019-11-03 16:19:16 +0200 | [diff] [blame] | 8 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 9 | COPY --chown=sdc:sdc startup.sh /home/sdc/ |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 10 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 11 | RUN chmod 770 /home/sdc/startup.sh |
Avi Ziv | c175a0d | 2018-03-15 13:21:44 +0200 | [diff] [blame] | 12 | |
MichaelMorris | a2abf6e | 2020-03-10 12:37:48 +0000 | [diff] [blame] | 13 | ENTRYPOINT [ "/home/sdc/startup.sh" ] |