Update HotSpot image to Java 17.

This commit is contained in:
FireMaskterK 2021-11-08 14:59:11 +00:00 committed by Kavin
parent e7628a7e32
commit 8517a1f12f
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -1,4 +1,4 @@
FROM eclipse-temurin:11-jdk AS build FROM eclipse-temurin:17-jdk AS build
WORKDIR /app/ WORKDIR /app/
@ -7,7 +7,7 @@ COPY . /app/
RUN --mount=type=cache,target=/root/.gradle/caches/ \ RUN --mount=type=cache,target=/root/.gradle/caches/ \
./gradlew shadowJar ./gradlew shadowJar
FROM eclipse-temurin:11-jre FROM eclipse-temurin:17-jre
WORKDIR /app/ WORKDIR /app/