Merge "Portal Spring Boot Development"
[portal.git] / deliveries / Dockerfile.mariadb
1 FROM mariadb:latest
2
3 ARG DB_SCRIPT_DIR=${DB_SCRIPT_DIR}
4
5 # constant
6 #Add config file
7 COPY my.cnf /etc/mysql/my.cnf
8
9 # Scripts are executed in alphabetical order
10
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
17
18 # SDK App DDL and DML
19 COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_2_5_Common.sql       /docker-entrypoint-initdb.d/
20 COPY ${DB_SCRIPT_DIR}/EcompSdkDDLMySql_2_5_OS.sql           /docker-entrypoint-initdb.d/
21 COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_2_5_Common.sql       /docker-entrypoint-initdb.d/
22 COPY ${DB_SCRIPT_DIR}/EcompSdkDMLMySql_2_5_OS.sql           /docker-entrypoint-initdb.d/