blob: c7c42a2940a3b732ed3029fe4fdbece5a861aaf0 [file] [log] [blame]
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04001# Large image
2# FROM openjdk:8-jdk
Christopher Lott (cl778h)6a4a3492017-10-10 15:54:38 -04003# Tiny image; it includes java and nc
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04004FROM frolvlad/alpine-oraclejdk8:slim
5
6# Arguments are supplied by build script;
7# the defaults below only support testing
8ARG WMS_JAR=build/widget-ms.jar
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04009# Onejar
10COPY ${WMS_JAR} /app.jar
11RUN sh -c 'touch /app.jar'
Christopher Lott (cl778h)6a4a3492017-10-10 15:54:38 -040012
Christopher Lott (cl778h)6a4a3492017-10-10 15:54:38 -040013# Launch script
st782s21a87612018-01-30 17:29:36 -050014COPY start-wms.sh /
Christopher Lott (cl778h)6a4a3492017-10-10 15:54:38 -040015
16# Define default command
st782s21a87612018-01-30 17:29:36 -050017CMD /start-wms.sh