mirror of https://github.com/halo-dev/halo
使用 Eclipse Temurin 镜像替代 AdoptOpenJDK 镜像 (#2120)
AdoptOpenJDK 项目已迁移至 Eclipse Adoptium,JDK 更名为「Eclipse Temurin」。 https://blog.adoptium.net/2021/08/adoptium-celebrates-first-release/pull/2125/head
parent
3dda1a9f6d
commit
352d9d4e20
|
@ -1,4 +1,4 @@
|
|||
FROM adoptopenjdk:11-jre-hotspot as builder
|
||||
FROM eclipse-temurin:11-jre as builder
|
||||
WORKDIR application
|
||||
ARG JAR_FILE=build/libs/*.jar
|
||||
COPY ${JAR_FILE} application.jar
|
||||
|
@ -6,7 +6,7 @@ RUN java -Djarmode=layertools -jar application.jar extract
|
|||
|
||||
################################
|
||||
|
||||
FROM adoptopenjdk:11-jre-hotspot
|
||||
FROM eclipse-temurin:11-jre
|
||||
MAINTAINER johnniang <johnniang@fastmail.com>
|
||||
WORKDIR application
|
||||
COPY --from=builder application/dependencies/ ./
|
||||
|
|
Loading…
Reference in New Issue