blob: 49c899ea4da856eadcf54178296e9b0d879563f8 [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
Manoop Talasilaa0c16db2019-02-08 13:47:48 -05004FROM openjdk:8-alpine
Christopher Lott (cl778h)978dbcf2017-08-23 18:27:19 -04005
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