From c0bc4c02f860d8cf247d42ef4ede0b016dc0007c Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Tue, 15 Nov 2022 12:38:11 -0500 Subject: [PATCH] Add `RUNNER_ALLOW_RUNASROOT=1` to dockerfile (#2254) --- images/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/Dockerfile b/images/Dockerfile index 411ce08eb..b87755b0d 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -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 .