From 5aef4630a6c5a8f96a6ddb8988a148c69ff9f536 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sun, 7 Jul 2024 10:22:57 -0600 Subject: [PATCH] Switch to ibm-semeru for docker images --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c75bf24..adcd7c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:24-jdk as builder +FROM ibm-semeru-runtimes:open-21-jdk as builder MAINTAINER William Brawner RUN groupadd --system --gid 1000 gradle \ @@ -8,10 +8,10 @@ COPY --chown=gradle:gradle . /home/gradle/src WORKDIR /home/gradle/src RUN /home/gradle/src/gradlew --console=plain --no-daemon shadowJar -FROM openjdk:24-slim +FROM ibm-semeru-runtimes:open-21-jre EXPOSE 8080 RUN groupadd --system --gid 1000 twigs \ && useradd --system --gid twigs --uid 1000 --create-home twigs COPY --from=builder --chown=twigs:twigs /home/gradle/src/app/build/libs/twigs.jar twigs.jar USER twigs -CMD /usr/local/openjdk-17/bin/java $JVM_ARGS -jar /twigs.jar +CMD /opt/java/openjdk/bin/java $JVM_ARGS -jar /twigs.jar