Skip to content

Commit

Permalink
Fix Dockerfile (move to JDK17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Oct 29, 2021
1 parent a275eef commit c7a5873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/ ./
Expand Down

0 comments on commit c7a5873

Please sign in to comment.