diff --git a/Dockerfile b/Dockerfile index 0e555d9..c75bf24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:17-jdk as builder +FROM openjdk:24-jdk as builder MAINTAINER William Brawner RUN groupadd --system --gid 1000 gradle \ @@ -8,7 +8,7 @@ COPY --chown=gradle:gradle . /home/gradle/src WORKDIR /home/gradle/src RUN /home/gradle/src/gradlew --console=plain --no-daemon shadowJar -FROM openjdk:17-slim +FROM openjdk:24-slim EXPOSE 8080 RUN groupadd --system --gid 1000 twigs \ && useradd --system --gid twigs --uid 1000 --create-home twigs