mirror of
https://github.com/actions/runner.git
synced 2025-12-13 10:05:23 +00:00
Add RUNNER_ALLOW_RUNASROOT=1 to dockerfile (#2254)
This commit is contained in:
@@ -17,5 +17,7 @@ RUN curl -f -L -o runner-container-hooks.zip https://github.com/actions/runner-c
|
|||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/runtime-deps:6.0
|
FROM mcr.microsoft.com/dotnet/runtime-deps:6.0
|
||||||
|
|
||||||
|
ENV RUNNER_ALLOW_RUNASROOT=1
|
||||||
|
|
||||||
WORKDIR /actions-runner
|
WORKDIR /actions-runner
|
||||||
COPY --from=build /actions-runner .
|
COPY --from=build /actions-runner .
|
||||||
|
|||||||
Reference in New Issue
Block a user