talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 1 | FROM mariadb:latest |
| 2 | |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame^] | 3 | ARG DB_SCRIPT_DIR=${DB_SCRIPT_DIR} |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 4 | |
| 5 | # constant |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 6 | #Add config file |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 7 | COPY my.cnf /etc/mysql/my.cnf |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 8 | |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 9 | # Scripts are executed in alphabetical order |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 10 | |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame^] | 11 | # Portal DDL and DML at v2.1 |
| 12 | COPY ${DB_SCRIPT_DIR}/PortalDDLMySql_2_1_Common.sql /docker-entrypoint-initdb.d/ |
| 13 | COPY ${DB_SCRIPT_DIR}/PortalDDLMySql_2_1_OS.sql /docker-entrypoint-initdb.d/ |
| 14 | COPY ${DB_SCRIPT_DIR}/PortalDMLMySql_2_1_Common.sql /docker-entrypoint-initdb.d/ |
| 15 | COPY ${DB_SCRIPT_DIR}/PortalDMLMySql_2_1_OS.sql /docker-entrypoint-initdb.d/ |
| 16 | # Do not copy the onboarding script here; it's mounted as a volume |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 17 | |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame^] | 18 | # SDK App DDL and DML |
| 19 | COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ |
| 20 | COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ |
| 21 | COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ |
| 22 | COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ |