Update to java 17

This commit is contained in:
Jimmy 2021-11-27 11:44:19 +13:00
parent 0f78b51945
commit baea748f90
1 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
ARG VERSION=17
FROM golang AS builder
WORKDIR /app
@ -9,8 +10,8 @@ COPY ./go.sum /app
RUN go build -o /app/main /app/src/main.go
RUN go build -o /app/cmd /app/src/cmd.go
ARG JAVA_VERSION=16
FROM openjdk:16
FROM openjdk:$VERSION
ENV MIN_MEM=512M
ENV MAX_MEM=1G