update build configuration

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-10-12 21:39:08 +02:00
parent 53b61f4090
commit a5fc35da16
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ updates:
schedule: schedule:
interval: "weekly" interval: "weekly"
- package-ecosystem: "maven" - package-ecosystem: "gradle"
directory: "/" directory: "/"
schedule: schedule:
interval: "weekly" interval: "weekly"

View File

@@ -1,5 +1,5 @@
# Stage that builds the application, a prerequisite for the running stage # 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 ARG SERVICE_ROOT
@@ -22,7 +22,7 @@ COPY --chown=app:app ${SERVICE_ROOT}/src ./src
RUN ./gradlew clean build -x test RUN ./gradlew clean build -x test
# Running stage: the part that is used for running the application # 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 RUN useradd -m app
USER app USER app