Skip to content

Commit

Permalink
Merge pull request #470 from infosiftr/docker-group-take-two
Browse files Browse the repository at this point in the history
Add a "docker" group (take two)
  • Loading branch information
tianon authored Jan 2, 2024
2 parents 3a04248 + c40845f commit ab2ee79
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 ab2ee79

Please sign in to comment.