Skip to content

Commit

Permalink
refactor: tentative de bascule vers eclipse-temurin à la place de l'i…
Browse files Browse the repository at this point in the history
…mage openjdk qui n'est plus maintenue

cf docker-library/openjdk#505
  • Loading branch information
kerphi committed Aug 5, 2022
1 parent 3f5c0a9 commit 3afd233
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,6 +1,6 @@
###
# Image pour la compilation
FROM maven:3-jdk-11 as build-image
FROM maven:3-eclipse-temurin-11 as build-image
WORKDIR /build/
# Installation et configuration de la locale FR
RUN apt update && DEBIAN_FRONTEND=noninteractive apt -y install locales
Expand Down Expand Up @@ -33,7 +33,7 @@ RUN mvn --batch-mode \
#FROM tomcat:9-jdk11 as api-image
#COPY --from=build-image /build/web/target/*.war /usr/local/tomcat/webapps/ROOT.war
#CMD [ "catalina.sh", "run" ]
FROM openjdk:11 as api-image
FROM eclipse-temurin:11-jdk as api-image
WORKDIR /app/
COPY --from=build-image /build/web/target/*.jar /app/qualimarc.jar
ENTRYPOINT ["java","-jar","/app/qualimarc.jar"]

0 comments on commit 3afd233

Please sign in to comment.