From a5fc35da166f1fba9bdb1b15a1453b435d4146e9 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Sat, 12 Oct 2024 21:39:08 +0200 Subject: [PATCH] update build configuration Signed-off-by: Peter Siegmund --- .github/dependabot.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cbc0c13..da93583 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ updates: schedule: interval: "weekly" - - package-ecosystem: "maven" + - package-ecosystem: "gradle" directory: "/" schedule: interval: "weekly" diff --git a/Dockerfile b/Dockerfile index d2de6de..c238f91 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage that builds the application, a prerequisite for the running stage -FROM eclipse-temurin:21-jdk-jammy AS build +FROM eclipse-temurin:21-jdk-noble AS build ARG SERVICE_ROOT @@ -22,7 +22,7 @@ COPY --chown=app:app ${SERVICE_ROOT}/src ./src RUN ./gradlew clean build -x test # Running stage: the part that is used for running the application -FROM eclipse-temurin:21-jre-jammy +FROM eclipse-temurin:21-jre-noble RUN useradd -m app USER app