Skip to content

Commit

Permalink
Revert "(temporarily) Revert "Add a "docker" group (with GID 2375)""
Browse files Browse the repository at this point in the history
This reverts commit 3a04248 (which reverted commit 9ebd7f6).
  • Loading branch information
tianon committed Dec 21, 2023
1 parent 3a04248 commit c40845f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 24/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions 25-rc/cli/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Dockerfile-cli.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ 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; \
Expand Down

0 comments on commit c40845f

Please sign in to comment.