Skip to content

Commit 51ce6df

Browse files
authored
Merge pull request #585 from bitranox/dockerfile-recursive-chown-runner
Dockerfile: recursive chown /actions-runner after tarball extract
2 parents 6225a60 + 482a64b commit 51ce6df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY install_actions.sh /actions-runner
1717
RUN chmod +x /actions-runner/install_actions.sh \
1818
&& /actions-runner/install_actions.sh ${GH_RUNNER_VERSION} ${TARGETPLATFORM} \
1919
&& rm /actions-runner/install_actions.sh \
20-
&& chown runner /_work /actions-runner /opt/hostedtoolcache
20+
&& chown -R runner /_work /actions-runner /opt/hostedtoolcache
2121

2222
COPY token.sh entrypoint.sh app_token.sh /
2323
RUN chmod +x /token.sh /entrypoint.sh /app_token.sh

0 commit comments

Comments
 (0)