Skip to content

Commit

Permalink
fix java base image
Browse files Browse the repository at this point in the history
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
  • Loading branch information
pavolloffay committed Oct 24, 2023
1 parent 83f0284 commit ee65444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/backend2/Dockerfile
@@ -1,11 +1,11 @@
FROM gradle:7.6.1-jdk17 AS builder
FROM gradle:8.4-jdk21 AS builder

WORKDIR /usr/src/app

COPY . .
RUN gradle bootJar

FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:21-jre-alpine
WORKDIR /usr/src/app

COPY --from=builder /usr/src/app/ .
Expand Down

0 comments on commit ee65444

Please sign in to comment.