Add RUNNER_ALLOW_RUNASROOT=1 to dockerfile (#2254)

This commit is contained in:
Tingluo Huang
2022-11-15 12:38:11 -05:00
committed by GitHub
parent c6630ce285
commit c0bc4c02f8

View File

@@ -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
ENV RUNNER_ALLOW_RUNASROOT=1
WORKDIR /actions-runner
COPY --from=build /actions-runner .