From b4b2951c9b3e9860515e5e24761ff4395bada3c5 Mon Sep 17 00:00:00 2001 From: janos erdos Date: Wed, 31 Jul 2024 07:55:27 +0200 Subject: [PATCH] feat: update graalvm version --- service/Dockerfile.graalvm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/service/Dockerfile.graalvm b/service/Dockerfile.graalvm index 76bd6f45..baaeaab0 100644 --- a/service/Dockerfile.graalvm +++ b/service/Dockerfile.graalvm @@ -9,10 +9,7 @@ COPY . /app WORKDIR /app RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar - -FROM ghcr.io/graalvm/graalvm-ce:java8-21.1.0 AS BASE - -RUN gu install native-image +FROM container-registry.oracle.com/graalvm/native-image:22 AS BASE COPY --from=CLJ /app/app-standalone.jar /app/app-standalone.jar WORKDIR /app @@ -32,10 +29,11 @@ COPY --from=BASE /lib64/libdl.so.2 /lib64/libdl.so.2 COPY --from=BASE /lib64/libpthread.so.0 /lib64/libpthread.so.0 COPY --from=BASE /lib64/libz.so.1 /lib64/libz.so.1 COPY --from=BASE /lib64/librt.so.1 /lib64/librt.so.1 -COPY --from=BASE /lib64/libcrypt.so.1 /lib64/libcrypt.so.1 COPY --from=BASE /lib64/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2 # COPY --from=BASE /lib64/libfreebl3.so /lib64/libfreebl3.so COPY --from=BASE /app/app-standalone / CMD ["/app-standalone"] + +EXPOSE 8080