diff --git a/docker-socket-proxy/Dockerfile b/docker-socket-proxy/Dockerfile index b621301..4a8661b 100755 --- a/docker-socket-proxy/Dockerfile +++ b/docker-socket-proxy/Dockerfile @@ -34,6 +34,8 @@ COPY rootfs / # Set shell SHELL ["/bin/ash", "-o", "pipefail", "-c"] +USER root + RUN \ set -o pipefail && \ apk add --no-cache --virtual .build-dependencies \ @@ -64,6 +66,8 @@ RUN \ rm -f -r \ /tmp/* +USER haproxy + ENV ALLOW_RESTARTS=0 \ AUTH=0 \ BUILD=0 \