summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.widgetms
blob: 16bf60b111aeb342b1e4cf2fe55d79fd5afc7d40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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