From d90d4841b87633e157b79764af56c5e94266c6b8 Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Tue, 11 Jun 2019 22:02:16 +0530 Subject: [PATCH] Add su-exec download for changing to non-root user (#7768) Fixes #7767 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cb913b3e..5fca6197f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ COPY --from=0 /usr/bin/check-user /usr/bin/check-user COPY dockerscripts/docker-entrypoint.sh /usr/bin/ RUN \ - apk add --no-cache ca-certificates 'curl>7.61.0' && \ + apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]