diff --git a/Dockerfile b/Dockerfile index 08e82ff35..2584f0105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM adoptopenjdk/openjdk16:alpine as builder +FROM eclipse-temurin:17-jdk as builder WORKDIR /application ARG JAR_FILE=build/libs/faf-java-api-*.jar COPY ${JAR_FILE} application.jar RUN java -Djarmode=layertools -jar application.jar extract -FROM adoptopenjdk/openjdk16:alpine +FROM eclipse-temurin:17-jdk VOLUME /tmp WORKDIR /application COPY --from=builder /application/dependencies/ ./