3 # Tiny image; it includes java and nc
4 FROM frolvlad/alpine-oraclejdk8:slim
6 # Arguments are supplied by build script;
7 # the defaults below only support testing
8 ARG WMS_JAR=build/widget-ms.jar
10 COPY ${WMS_JAR} /app.jar
11 RUN sh -c 'touch /app.jar'
13 # Wait script, which depends on nc
16 COPY start-wms-cmd.sh /
18 # Define default command