talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 1 | FROM mariadb:latest |
| 2 | |
| 3 | #Author |
| 4 | MAINTAINER Manoop talasila@research.att.com |
| 5 | |
| 6 | ARG SCRIPT_DIR=${SCRIPT_DIR} |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 7 | ARG SCRIPT_COMMON_DIR=${SCRIPT_COMMON_DIR} |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 8 | ARG SDK_SCRIPT_DIR=${SDK_SCRIPT_DIR} |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 9 | ARG SDK_COMMON_SCRIPT_DIR=${SDK_COMMON_SCRIPT_DIR} |
| 10 | ARG DBC_COMMON_SCRIPT_DIR=${DBC_COMMON_SCRIPT_DIR} |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 11 | ARG DBC_SCRIPT_DIR=${DBC_SCRIPT_DIR} |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 12 | |
| 13 | # constant |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 14 | #Add config file |
| 15 | ADD my.cnf /etc/mysql/my.cnf |
| 16 | #ADD cluster.cnf /etc/mysql/conf.d |
| 17 | |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 18 | # Scripts are executed in alphabetical order |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 19 | |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 20 | # Portal DDL and DML |
| 21 | ADD ${SCRIPT_COMMON_DIR}/EcompPortalDDLMySql_1707_Common.sql docker-entrypoint-initdb.d |
| 22 | ADD ${SCRIPT_DIR}/EcompPortalDDLMySql_1707_OS.sql docker-entrypoint-initdb.d |
| 23 | ADD ${SCRIPT_COMMON_DIR}/EcompPortalDMLMySql_1707_Common.sql docker-entrypoint-initdb.d |
| 24 | ADD ${SCRIPT_DIR}/EcompPortalDMLMySql_1707_OS.sql docker-entrypoint-initdb.d |
| 25 | ADD Apps_Users_OnBoarding_Script.sql docker-entrypoint-initdb.d/EcompPortalDMLMySql_1707_z_apps_users.sql |
talasila | f9b0631 | 2017-02-16 17:32:52 -0500 | [diff] [blame] | 26 | |
Christopher Lott (cl778h) | a9627f8 | 2017-07-26 11:49:07 -0400 | [diff] [blame] | 27 | # SDK App DDL and DML |
| 28 | ADD ${SDK_COMMON_SCRIPT_DIR}/EcompSdkDDLMySql_1707_Common.sql docker-entrypoint-initdb.d |
| 29 | ADD ${SDK_SCRIPT_DIR}/EcompSdkDDLMySql_1707_OS.sql docker-entrypoint-initdb.d |
| 30 | ADD ${SDK_COMMON_SCRIPT_DIR}/EcompSdkDMLMySql_1707_Common.sql docker-entrypoint-initdb.d |
| 31 | ADD ${SDK_SCRIPT_DIR}/EcompSdkDMLMySql_1707_OS.sql docker-entrypoint-initdb.d |
| 32 | |
| 33 | # DBC App combined DDL/DML, built by os_build_febe.sh |
| 34 | ADD ${DBC_SCRIPT_DIR}/dbca-complete-mysql-1707-os.sql docker-entrypoint-initdb.d |