summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.mariadb
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-16 17:32:52 -0500
committertalasila <talasila@research.att.com>2017-02-16 17:33:07 -0500
commitf9b06313332d65f2a6600667d1b92c2ebede5453 (patch)
tree0173fe11a39d7124851c019c44ebcc3a159a6958 /deliveries/Dockerfile.mariadb
parent0ff0e9f4b1862fdf46a130b89f9b18c761717f2a (diff)
docker db scripts added
Change-Id: I16cb27f2383a40ab3bd111af1d9bbf3b2b92d899 Signed-off-by: talasila <talasila@research.att.com>
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