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 | |
Lorraine Welch | 8886d15 | 2020-03-17 14:52:22 -0400 | [diff] [blame] | 11 | # Portal DDL and DML at v3.2 |
| 12 | COPY ${DB_SCRIPT_DIR}/PortalDDLMySql_3_2_Common.sql /docker-entrypoint-initdb.d/ |
| 13 | COPY ${DB_SCRIPT_DIR}/PortalDDLMySql_3_2_OS.sql /docker-entrypoint-initdb.d/ |
| 14 | COPY ${DB_SCRIPT_DIR}/PortalDMLMySql_3_2_Common.sql /docker-entrypoint-initdb.d/ |
| 15 | COPY ${DB_SCRIPT_DIR}/PortalDMLMySql_3_2_OS.sql /docker-entrypoint-initdb.d/ |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 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 |
Lorraine Welch | 8886d15 | 2020-03-17 14:52:22 -0400 | [diff] [blame] | 19 | COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_3_2_Common.sql /docker-entrypoint-initdb.d/ |
| 20 | COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_3_2_OS.sql /docker-entrypoint-initdb.d/ |
| 21 | COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_3_2_Common.sql /docker-entrypoint-initdb.d/ |
| 22 | COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_3_2_OS.sql /docker-entrypoint-initdb.d/ |