Skip to content

Commit

Permalink
Update docker image versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophB committed Jan 15, 2025
1 parent f81b38b commit 20ccbea
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,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM maven:3-openjdk-11-slim AS build-stage
FROM maven:3-openjdk-17-slim AS build-stage
WORKDIR /app
COPY . .
COPY .mvn-ci.xml /root/.m2/settings.xml
Expand All @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.m2/repository \
GH_MAVEN_PKG_AUTH_TOKEN=$(cat /run/secrets/GH_MAVEN_PKG_AUTH_TOKEN) \
mvn package -B --no-transfer-progress -DskipTests=true

FROM openjdk:11-jdk-slim AS production-stage
FROM openjdk:17-jdk-slim AS production-stage
ENV LOADER_PATH=/plugins
COPY --from=build-stage /app/target/*.jar /usr/src/top-backend/top-backend.jar
WORKDIR /usr/src/top-backend
Expand Down

0 comments on commit 20ccbea

Please sign in to comment.