Better support for ARM
java17 regular doesn't have ARM, java17-debian11 does
This commit is contained in:
committed by
GitHub
parent
4978f32e32
commit
ee74116e6b
@@ -36,7 +36,7 @@ COPY --from=build-hapi --chown=1001:1001 /tmp/hapi-fhir-jpaserver-starter/opente
|
|||||||
ENV ALLOW_EMPTY_PASSWORD=yes
|
ENV ALLOW_EMPTY_PASSWORD=yes
|
||||||
|
|
||||||
########### distroless brings focus on security and runs on plain spring boot - this is the default image
|
########### 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
|
# 65532 is the nonroot user's uid
|
||||||
# used here instead of the name to allow Kubernetes to easily detect that the container
|
# used here instead of the name to allow Kubernetes to easily detect that the container
|
||||||
# is running as a non-root (uid != 0) user.
|
# is running as a non-root (uid != 0) user.
|
||||||
|
|||||||
Reference in New Issue
Block a user