Skip to content

Commit a1f9691

Browse files
committed
lesson28: fix Dockerfile eclipse-temurin:17-jre
1 parent f361314 commit a1f9691

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lesson28/hello-devops/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN mvn dependency:go-offline -B
55
COPY src src
66
RUN mvn clean package -DskipTests
77

8-
FROM openjdk:17-jre-slim
8+
FROM eclipse-temurin:17-jre
99
WORKDIR /app
1010
COPY --from=build /app/target/*.jar app.jar
1111
ENTRYPOINT ["java", "-jar", "app.jar"]

lesson28/hello-jenkins/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN mvn dependency:go-offline -B
55
COPY src src
66
RUN mvn clean package -DskipTests
77

8-
FROM openjdk:17-jre-slim
8+
FROM eclipse-temurin:17-jre
99
WORKDIR /app
1010
COPY --from=build /app/target/*.jar app.jar
1111
ENTRYPOINT ["java", "-jar", "app.jar"]

lesson28/hello-world/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN mvn dependency:go-offline -B
55
COPY src src
66
RUN mvn clean package -DskipTests
77

8-
FROM openjdk:17-jre-slim
8+
FROM eclipse-temurin:17-jre
99
WORKDIR /app
1010
COPY --from=build /app/target/*.jar app.jar
1111
ENTRYPOINT ["java", "-jar", "app.jar"]

0 commit comments

Comments
 (0)