Skip to content

Commit

Permalink
Merge pull request #462 from infosiftr/docker-group
Browse files Browse the repository at this point in the history
Add a "docker" group
  • Loading branch information
yosifkit authored Dec 18, 2023
2 parents 7ac5702 + 9ebd7f6 commit 9238e26
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 9238e26

Please sign in to comment.