From 05331f3f0a747d34aee61c1b4d1aff62e3b80a40 Mon Sep 17 00:00:00 2001 From: Autumn Jolitz Date: Wed, 16 Oct 2024 15:07:15 -0700 Subject: [PATCH] fix: set /usr/bin/dash as default shell --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 7274fb2..c053dca 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -107,7 +107,6 @@ ARG BUILD_ROOT='/dest' ENV BUILD_ROOT=$BUILD_ROOT \ PYTHON_VERSION=$PYTHON_VERSION \ ALPINE_VERSION=$ALPINE_VERSION - COPY --from=buildroot $BUILD_ROOT / LABEL \ org.opencontainers.image.authors="distroless-python image developers " \ @@ -120,4 +119,5 @@ LABEL \ distroless.alpine-version="${ALPINE_VERSION}" \ distroless.base-image="alpine${ALPINE_VERSION}" +SHELL ["/usr/bin/dash", "-c"] ENTRYPOINT [ "/usr/local/bin/python" ]