blob: 004e7af85ea8a835bdbdefa4b063695c65735b29 [file] [log] [blame]
talasilaf9b06312017-02-16 17:32:52 -05001FROM mariadb:latest
2
3#Author
4MAINTAINER Manoop talasila@research.att.com
5
6ARG SCRIPT_DIR=${SCRIPT_DIR}
statta6a62e912017-05-17 00:28:11 -04007ARG SCRIPT_COMMON_DIR=${SCRIPT_COMMON_DIR}
talasilaf9b06312017-02-16 17:32:52 -05008ARG SDK_SCRIPT_DIR=${SDK_SCRIPT_DIR}
statta6a62e912017-05-17 00:28:11 -04009ARG SDK_COMMON_SCRIPT_DIR=${SDK_COMMON_SCRIPT_DIR}
10ARG DBC_COMMON_SCRIPT_DIR=${DBC_COMMON_SCRIPT_DIR}
talasilaf9b06312017-02-16 17:32:52 -050011ARG DBC_SCRIPT_DIR=${DBC_SCRIPT_DIR}
Christopher Lott (cl778h)a9627f82017-07-26 11:49:07 -040012
13# constant
talasilaf9b06312017-02-16 17:32:52 -050014#Add config file
15ADD my.cnf /etc/mysql/my.cnf
16#ADD cluster.cnf /etc/mysql/conf.d
17
Christopher Lott (cl778h)a9627f82017-07-26 11:49:07 -040018# Scripts are executed in alphabetical order
talasilaf9b06312017-02-16 17:32:52 -050019
Christopher Lott (cl778h)a9627f82017-07-26 11:49:07 -040020# Portal DDL and DML
21ADD ${SCRIPT_COMMON_DIR}/EcompPortalDDLMySql_1707_Common.sql docker-entrypoint-initdb.d
22ADD ${SCRIPT_DIR}/EcompPortalDDLMySql_1707_OS.sql docker-entrypoint-initdb.d
23ADD ${SCRIPT_COMMON_DIR}/EcompPortalDMLMySql_1707_Common.sql docker-entrypoint-initdb.d
24ADD ${SCRIPT_DIR}/EcompPortalDMLMySql_1707_OS.sql docker-entrypoint-initdb.d
25ADD Apps_Users_OnBoarding_Script.sql docker-entrypoint-initdb.d/EcompPortalDMLMySql_1707_z_apps_users.sql
talasilaf9b06312017-02-16 17:32:52 -050026
Christopher Lott (cl778h)a9627f82017-07-26 11:49:07 -040027# SDK App DDL and DML
28ADD ${SDK_COMMON_SCRIPT_DIR}/EcompSdkDDLMySql_1707_Common.sql docker-entrypoint-initdb.d
29ADD ${SDK_SCRIPT_DIR}/EcompSdkDDLMySql_1707_OS.sql docker-entrypoint-initdb.d
30ADD ${SDK_COMMON_SCRIPT_DIR}/EcompSdkDMLMySql_1707_Common.sql docker-entrypoint-initdb.d
31ADD ${SDK_SCRIPT_DIR}/EcompSdkDMLMySql_1707_OS.sql docker-entrypoint-initdb.d
32
33# DBC App combined DDL/DML, built by os_build_febe.sh
34ADD ${DBC_SCRIPT_DIR}/dbca-complete-mysql-1707-os.sql docker-entrypoint-initdb.d