Skip to content

Commit

Permalink
Merge pull request #30748 from rfigueroa
Browse files Browse the repository at this point in the history
* pr/30748:
  Use eclipse-temurin in docker samples

Closes gh-30748
  • Loading branch information
snicoll committed Apr 20, 2022
2 parents 1e32f3b + ae267bf commit e1ad657
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ Here's an example of a Dockerfile using `jarmode`.

[source,dockerfile,indent=0,subs="verbatim"]
----
FROM adoptopenjdk:11-jre-hotspot as builder
FROM eclipse-temurin:11-jre as builder
WORKDIR application
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} application.jar
RUN java -Djarmode=layertools -jar application.jar extract
FROM adoptopenjdk:11-jre-hotspot
FROM eclipse-temurin:11-jre
WORKDIR application
COPY --from=builder application/dependencies/ ./
COPY --from=builder application/spring-boot-loader/ ./
Expand Down

0 comments on commit e1ad657

Please sign in to comment.