chore: use ibm-semeru-runtimes to replace eclipse-temurin as the base image

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/4896/head
Ryan Wang 2023-11-23 14:29:29 +08:00
parent 457e05913e
commit 8f3ed637ad
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM eclipse-temurin:17-jre as builder FROM ibm-semeru-runtimes:open-17-jre as builder
WORKDIR application WORKDIR application
ARG JAR_FILE=application/build/libs/*.jar ARG JAR_FILE=application/build/libs/*.jar
COPY ${JAR_FILE} application.jar COPY ${JAR_FILE} application.jar
@ -6,7 +6,7 @@ RUN java -Djarmode=layertools -jar application.jar extract
################################ ################################
FROM eclipse-temurin:17-jre FROM ibm-semeru-runtimes:open-17-jre
MAINTAINER johnniang <johnniang@fastmail.com> MAINTAINER johnniang <johnniang@fastmail.com>
WORKDIR application WORKDIR application
COPY --from=builder application/dependencies/ ./ COPY --from=builder application/dependencies/ ./