We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c62ab commit cc73efbCopy full SHA for cc73efb
.github/scripts/ppc64le/self-hosted-builder/actions-runner.Dockerfile
@@ -89,7 +89,11 @@ RUN cd /tmp/runner/src && \
89
90
RUN useradd -c "Action Runner" -m runner && \
91
usermod -L runner && \
92
- echo " runner ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/runner
+ echo "runner ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/runner && \
93
+ groupadd docker || true && \
94
+ usermod -aG docker runner && \
95
+ chmod 660 /var/run/docker.sock && \
96
+ chgrp docker /var/run/docker.sock
97
98
RUN mkdir -p /opt/runner && \
99
tar -xf /tmp/runner/_package/*.tar.gz -C /opt/runner && \
0 commit comments