Skip to content

Commit e1ad657

Browse files
committed
Merge pull request #30748 from rfigueroa
* pr/30748: Use eclipse-temurin in docker samples Closes gh-30748
2 parents 1e32f3b + ae267bf commit e1ad657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/container-images.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ Here's an example of a Dockerfile using `jarmode`.
8989

9090
[source,dockerfile,indent=0,subs="verbatim"]
9191
----
92-
FROM adoptopenjdk:11-jre-hotspot as builder
92+
FROM eclipse-temurin:11-jre as builder
9393
WORKDIR application
9494
ARG JAR_FILE=target/*.jar
9595
COPY ${JAR_FILE} application.jar
9696
RUN java -Djarmode=layertools -jar application.jar extract
9797
98-
FROM adoptopenjdk:11-jre-hotspot
98+
FROM eclipse-temurin:11-jre
9999
WORKDIR application
100100
COPY --from=builder application/dependencies/ ./
101101
COPY --from=builder application/spring-boot-loader/ ./

0 commit comments

Comments
 (0)