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