mirror of https://github.com/halo-dev/halo
chore: use ibm-semeru-runtimes to replace eclipse-temurin as the base image
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/4896/head
parent
457e05913e
commit
8f3ed637ad
|
@ -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/ ./
|
||||||
|
|
Loading…
Reference in New Issue