Skip to content

Commit

Permalink
Update eclipse-temurin Docker tag to v21 (#55)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 8, 2023
1 parent 487ee82 commit ffb1617
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build backend
FROM eclipse-temurin:20-jdk-jammy AS build-back
FROM eclipse-temurin:21-jdk-jammy AS build-back

WORKDIR /app

Expand All @@ -23,7 +23,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build

# Build final image
FROM eclipse-temurin:20-jre-jammy
FROM eclipse-temurin:21-jre-jammy
RUN apt-get update && \
apt-get install -y curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:20-jdk-jammy AS build
FROM eclipse-temurin:21-jdk-jammy AS build

WORKDIR /app

Expand All @@ -10,7 +10,7 @@ COPY src src

RUN ./gradlew clean build -x test

FROM eclipse-temurin:20-jre-jammy
FROM eclipse-temurin:21-jre-jammy
WORKDIR /app
COPY --from=build /app/build/libs/mintstone-backend.jar app.jar
EXPOSE 8080
Expand Down

0 comments on commit ffb1617

Please sign in to comment.