From ee74116e6b4b73b84da374eca01892d30fb410ef Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Thu, 18 Aug 2022 21:05:36 +0200 Subject: [PATCH] Better support for ARM java17 regular doesn't have ARM, java17-debian11 does --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1eb0a2b..82af8df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ COPY --from=build-hapi --chown=1001:1001 /tmp/hapi-fhir-jpaserver-starter/opente ENV ALLOW_EMPTY_PASSWORD=yes ########### distroless brings focus on security and runs on plain spring boot - this is the default image -FROM gcr.io/distroless/java17:nonroot as default +FROM gcr.io/distroless/java17-debian11:nonroot as default # 65532 is the nonroot user's uid # used here instead of the name to allow Kubernetes to easily detect that the container # is running as a non-root (uid != 0) user.