Update HotSpot image to Java 17. (#129)

* Update HotSpot image to Java 17.

* Update OpenJ9 Docker image to Java 17.
This commit is contained in:
Kavin 2022-08-17 20:40:48 +05:30 committed by GitHub
parent e7628a7e32
commit cca5441402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

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

View File

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