diff --git a/24/cli/Dockerfile b/24/cli/Dockerfile index 73a5ac15b1..f385b96081 100644 --- a/24/cli/Dockerfile +++ b/24/cli/Dockerfile @@ -17,10 +17,6 @@ RUN apk add --no-cache \ # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf -# pre-add a "docker" group for socket usage -RUN set -eux; \ - addgroup -g 2375 -S docker - ENV DOCKER_VERSION 24.0.7 RUN set -eux; \ diff --git a/25-rc/cli/Dockerfile b/25-rc/cli/Dockerfile index f0528e0225..3911b9993c 100644 --- a/25-rc/cli/Dockerfile +++ b/25-rc/cli/Dockerfile @@ -17,10 +17,6 @@ RUN apk add --no-cache \ # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf -# pre-add a "docker" group for socket usage -RUN set -eux; \ - addgroup -g 2375 -S docker - ENV DOCKER_VERSION 25.0.0-beta.3 RUN set -eux; \ diff --git a/Dockerfile-cli.template b/Dockerfile-cli.template index 83622f12b2..05c75697b8 100644 --- a/Dockerfile-cli.template +++ b/Dockerfile-cli.template @@ -12,10 +12,6 @@ RUN apk add --no-cache \ # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN [ -e /etc/nsswitch.conf ] && grep '^hosts: files dns' /etc/nsswitch.conf -# pre-add a "docker" group for socket usage -RUN set -eux; \ - addgroup -g 2375 -S docker - ENV DOCKER_VERSION {{ .version }} RUN set -eux; \