From 6e081e3694f0e36f38d2c05a2559d4f7fbfbba8f Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 12 Sep 2018 12:33:50 +0100 Subject: [PATCH] Add bug tracking COPY with setuid bit https://github.com/moby/moby/issues/37830 [CI SKIP] --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 3781c45..372bd39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -159,6 +159,7 @@ SHELL ["/bin/sh", "-exc"] COPY --from=builder /output/ / # Workaround for Docker bug (not retaining setuid bit) +# https://github.com/moby/moby/issues/37830 RUN chmod 4755 usr/bin/ping usr/bin/su ENV ENV="/etc/profile"