Skip to content

Commit f2702ff

Browse files
authored
chore: build and run Docker image with Eclipse Temurin 21 (#629)
1 parent a2ceca4 commit f2702ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM openjdk:8-jdk-slim AS build
1+
FROM eclipse-temurin:21-jdk-alpine AS build
22
WORKDIR /build
33
COPY ./ /build
44
RUN ./mvnw -V -B -ff -P docker package -q
55

6-
FROM openjdk:8-jre-slim
6+
FROM eclipse-temurin:21-jre-alpine
77
WORKDIR /app
88
COPY --from=build /build/cli/target/openapi-diff-cli-*-all.jar /app/openapi-diff.jar
99
ENTRYPOINT ["java", "-jar", "/app/openapi-diff.jar"]

0 commit comments

Comments
 (0)