Skip to content

Commit

Permalink
fix openjdk 17 in dockerfile to build app image
Browse files Browse the repository at this point in the history
  • Loading branch information
thoomasbro committed May 16, 2023
1 parent f5f3fba commit aa19bdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG VERSION=NO_VERSION
########################################
# Build monitorenv backend with maven #
########################################
FROM maven:3.6.0-jdk-11-slim as buildBack
FROM maven:3.8.5-openjdk-17-slim as buildBack

ARG GITHUB_SHA
ARG VERSION
Expand Down Expand Up @@ -51,7 +51,7 @@ RUN npm run build
# Create final image #
######################
# There is no more JRE with Java 11 : https://stackoverflow.com/a/53733414
FROM azul/zulu-openjdk-alpine:11
FROM azul/zulu-openjdk-alpine:17

ARG VERSION
ENV VERSION $VERSION
Expand Down

0 comments on commit aa19bdf

Please sign in to comment.