summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.mariadb
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/Dockerfile.mariadb')
-rw-r--r--deliveries/Dockerfile.mariadb21
1 files changed, 21 insertions, 0 deletions
diff --git a/deliveries/Dockerfile.mariadb b/deliveries/Dockerfile.mariadb
new file mode 100644
index 00000000..2d79908a
--- /dev/null
+++ b/deliveries/Dockerfile.mariadb
@@ -0,0 +1,21 @@
+FROM mariadb:latest
+
+#Author
+MAINTAINER Manoop talasila@research.att.com
+
+ARG SCRIPT_DIR=${SCRIPT_DIR}
+ARG SDK_SCRIPT_DIR=${SDK_SCRIPT_DIR}
+ARG DBC_SCRIPT_DIR=${DBC_SCRIPT_DIR}
+#Add config file
+ADD my.cnf /etc/mysql/my.cnf
+#ADD cluster.cnf /etc/mysql/conf.d
+
+#Add DDL and DML SQL files
+ADD ${SCRIPT_DIR}/EcompPortalDDLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompPortalDDLMySql_1610_Complete_OS.sql
+ADD ${SCRIPT_DIR}/EcompPortalDMLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompPortalDMLMySql_1610_Complete_OS.sql
+
+ADD ${SDK_SCRIPT_DIR}/EcompSdkDDLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompSdkDDLMySql_1610_Complete_OS.sql
+ADD ${SDK_SCRIPT_DIR}/EcompSdkDMLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompSdkDMLMySql_1610_Complete_OS.sql
+
+ADD ${DBC_SCRIPT_DIR}/EcompSdkDDLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompDbcDDLMySql_1610_Complete_OS.sql
+ADD ${DBC_SCRIPT_DIR}/EcompSdkDMLMySql_1610_Complete_OS.sql docker-entrypoint-initdb.d/EcompDbcDMLMySql_1610_Complete_OS.sql