Add bug tracking COPY with setuid bit
https://github.com/moby/moby/issues/37830 [CI SKIP]
This commit is contained in:
parent
f4877b1283
commit
6e081e3694
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user