summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.widgetms
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-08-23 18:27:19 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-08-23 21:12:56 -0400
commit978dbcf0a196acbafad72fe1e2478ec0e384f02f (patch)
tree17e1ceaa4a12a599320cbb317947e990bf1a5383 /deliveries/Dockerfile.widgetms
parentbc7350dce5b7b1dcd1c472a3922b42c4ea99809d (diff)
Deliver centralized role management feature
Repair multiple defects also. Revise deployment to use docker-compose. Remove all zip archives. Issue: PORTAL-21, PORTAL-25, PORTAL-28, PORTAL-52, PORTAL-69, PORTAL-74, PORTAL-76, PORTAL-80, PORTAL-82 Change-Id: Ie72fec7d35ba78beb162bba6ed27b2caee340c61 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/Dockerfile.widgetms')
-rw-r--r--deliveries/Dockerfile.widgetms18
1 files changed, 18 insertions, 0 deletions
diff --git a/deliveries/Dockerfile.widgetms b/deliveries/Dockerfile.widgetms
new file mode 100644
index 00000000..16bf60b1
--- /dev/null
+++ b/deliveries/Dockerfile.widgetms
@@ -0,0 +1,18 @@
+# Large image
+# FROM openjdk:8-jdk
+# Very small image
+FROM frolvlad/alpine-oraclejdk8:slim
+
+# Arguments are supplied by build script;
+# the defaults below only support testing
+ARG WMS_JAR=build/widget-ms.jar
+# Launch script
+COPY start-wms-cmd.sh /
+# Wait script, which depends on nc
+COPY wait-for.sh /
+# Onejar
+COPY ${WMS_JAR} /app.jar
+RUN sh -c 'touch /app.jar'
+VOLUME /tmp
+ENV JAVA_OPTS=""
+CMD /start-wms-cmd.sh