talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 1 | FROM mariadb:latest |
| 2 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame^] | 3 | ARG PORTAL_SCRIPT_DIR=${PORTAL_SCRIPT_DIR} |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 4 | ARG SDK_SCRIPT_DIR=${SDK_SCRIPT_DIR} |
| 5 | ARG DBC_SCRIPT_DIR=${DBC_SCRIPT_DIR} |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 6 | |
| 7 | # constant |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 8 | #Add config file |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame^] | 9 | COPY my.cnf /etc/mysql/my.cnf |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 10 | #ADD cluster.cnf /etc/mysql/conf.d |
| 11 | |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 12 | # Scripts are executed in alphabetical order |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 13 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame^] | 14 | # Portal DDL and DML at 1710 |
| 15 | COPY ${PORTAL_SCRIPT_DIR}/EcompPortalDDLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ |
| 16 | COPY ${PORTAL_SCRIPT_DIR}/EcompPortalDDLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ |
| 17 | COPY ${PORTAL_SCRIPT_DIR}/EcompPortalDMLMySql_1710_Common.sql /docker-entrypoint-initdb.d/ |
| 18 | COPY ${PORTAL_SCRIPT_DIR}/EcompPortalDMLMySql_1710_OS.sql /docker-entrypoint-initdb.d/ |
| 19 | COPY Apps_Users_OnBoarding_Script.sql /docker-entrypoint-initdb.d/EcompPortalDMLMySql_1710_z_apps_users.sql |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 20 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame^] | 21 | # SDK App DDL and DML unchanged since 1707 |
| 22 | COPY ${SDK_SCRIPT_DIR}/EcompSdkDDLMySql_1707_Common.sql /docker-entrypoint-initdb.d/ |
| 23 | COPY ${SDK_SCRIPT_DIR}/EcompSdkDDLMySql_1707_OS.sql /docker-entrypoint-initdb.d/ |
| 24 | COPY ${SDK_SCRIPT_DIR}/EcompSdkDMLMySql_1707_Common.sql /docker-entrypoint-initdb.d/ |
| 25 | COPY ${SDK_SCRIPT_DIR}/EcompSdkDMLMySql_1707_OS.sql /docker-entrypoint-initdb.d/ |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 26 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame^] | 27 | # DBC App combined DDL/DML, built by script |
| 28 | COPY ${DBC_SCRIPT_DIR}/dbca-complete-mysql-1707-os.sql /docker-entrypoint-initdb.d/ |