Skip to content

Commit

Permalink
⬆️ : upgrade to java 17
Browse files Browse the repository at this point in the history
using eclipse-temurin build
  • Loading branch information
juwit committed Oct 8, 2021
1 parent 262ce92 commit 619bf1e
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,9 +1,9 @@
FROM maven:3-openjdk-16 as BUILD
FROM maven:3-eclipse-temurin-17 as BUILD

COPY . /usr/src/app
RUN mvn --batch-mode -DskipTests -f /usr/src/app/pom.xml clean package

FROM openjdk:16-jdk
FROM eclipse-temurin:17
EXPOSE 8080
COPY --from=BUILD /usr/src/app/target/*.jar /opt/target/gaia.jar
WORKDIR /opt/target
Expand Down

0 comments on commit 619bf1e

Please sign in to comment.