mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
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:
parent
e7628a7e32
commit
cca5441402
2 changed files with 4 additions and 4 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue