Skip to content

Commit ae267bf

Browse files
rfigueroasnicoll
authored andcommitted
Use eclipse-temurin in docker samples
As AdoptOpenJDK moved to the Eclipse Foundation, this commit updates the docs to reflect that in docker file samples. See gh-30748
1 parent 1e32f3b commit ae267bf

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)