aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-database/docker
diff options
context:
space:
mode:
authorRamaPrasad Amaranarayana (ra5425) <ra5425@att.com>2018-09-19 17:59:48 -0400
committerRamaPrasad Amaranarayana (ra5425) <ra5425@att.com>2018-09-19 17:59:48 -0400
commite1ce86324a34a84436c229c214661f5a9a7f3928 (patch)
treea36d3c84b5dd06e4582f249355256116aae561c5 /cmso-database/docker
parentfbe4bb98345727d190cefcfb3ec54ad9075fba9d (diff)
Change Management Schedule Optimization
Adding Database Project for Change Management Schedule Optimization Change-Id: I03370ea4d80ed0444f986b8c7e9e32dbad206106 Issue-ID: OPTFRA-351 Signed-off-by: RamaPrasad Amaranarayana (ra5425) <ra5425@att.com>
Diffstat (limited to 'cmso-database/docker')
-rw-r--r--cmso-database/docker/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmso-database/docker/Dockerfile b/cmso-database/docker/Dockerfile
new file mode 100644
index 0000000..40251ec
--- /dev/null
+++ b/cmso-database/docker/Dockerfile
@@ -0,0 +1,11 @@
+FROM anapsix/alpine-java:8_jdk
+
+ENV DBUPGRADE_HOME=/opt/app/dbupgrade
+
+VOLUME /volume/config
+VOLUME /volume/logs
+
+ADD target/docker-liquibase.jar ${DBUPGRADE_HOME}/lib/docker-liquibase.jar
+ADD bin ${DBUPGRADE_HOME}/bin
+
+ENTRYPOINT ["/bin/bash", "-x", "/opt/app/dbupgrade/bin/docker_start.sh"] \ No newline at end of file