Skip to content

Commit

Permalink
Patch backend Dockerfile for pre- release
Browse files Browse the repository at this point in the history
  • Loading branch information
zelytra committed Jun 14, 2024
1 parent 38c49ef commit 34691c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Build stage
FROM maven:3.8.3-openjdk-17 AS build
FROM maven:3-amazoncorretto-21 AS build
WORKDIR /app
COPY . .
RUN mvn quarkus:build package -Dmaven.test.skip=true -Dquarkus.profile=prod

# Package stage
FROM registry.access.redhat.com/ubi8/openjdk-17:latest
FROM registry.access.redhat.com/ubi8/openjdk-21:latest
ENV LANGUAGE='en_US:en'
# We make four distinct layers so if there are application changes the library layers can be re-used
COPY --from=build --chown=185 /app/target/quarkus-app/lib/ /deployments/lib/
Expand Down

0 comments on commit 34691c0

Please sign in to comment.