Can specify java version
This commit is contained in:
parent
4277fffcf5
commit
9f136dff2a
|
@ -1,9 +1,12 @@
|
||||||
FROM java:8
|
ARG JAVA_VERSION=14.0.2
|
||||||
|
FROM java:${JAVA_VERSION}
|
||||||
|
|
||||||
ENV MIN_MEM=512M
|
ENV MIN_MEM=512M
|
||||||
ENV MAX_MEM=8G
|
ENV MAX_MEM=1G
|
||||||
ENV STOP="stop"
|
ENV STOP="stop"
|
||||||
|
|
||||||
|
ENV JAR=server.jar
|
||||||
|
|
||||||
COPY ./bin/main /main
|
COPY ./bin/main /main
|
||||||
COPY ./bin/cmd /usr/local/bin/cmd
|
COPY ./bin/cmd /usr/local/bin/cmd
|
||||||
COPY ./entry.sh /entry.sh
|
COPY ./entry.sh /entry.sh
|
||||||
|
|
Loading…
Reference in New Issue