Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLichtenberger authored May 25, 2024
1 parent 179a0c3 commit 982a346
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 @@
# Stage-1
# Build jar
FROM gradle:8.4-jdk21-graal as builder
FROM gradle:8.7.0-jdk-21-and-22-graal as builder
LABEL maintainer="Johannes Lichtenberger <[email protected]>"
WORKDIR /usr/app/

Expand All @@ -11,7 +11,7 @@ RUN gradle build --refresh-dependencies -x test
# Stage-2
# Copy jar and run the server

FROM gradle:jdk21-alpine as server
FROM gradle:jdk-21-and-22-alpine as server
RUN apk update && apk add --no-cache bash && apk add --no-cache gcompat
ENV VERTICLE_FILE sirix-rest-api-*-SNAPSHOT-fat.jar
# Set the location of the verticles
Expand Down

0 comments on commit 982a346

Please sign in to comment.