From acc0fdad38d6aebb0e4d038c715dc64bf1c49ed0 Mon Sep 17 00:00:00 2001 From: Carly Gundy Date: Tue, 30 Jul 2024 16:35:16 +0200 Subject: [PATCH] add suo --- .github/minimal-runner-image/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/minimal-runner-image/Dockerfile b/.github/minimal-runner-image/Dockerfile index aa759a8d720..4a99ce0dfc9 100644 --- a/.github/minimal-runner-image/Dockerfile +++ b/.github/minimal-runner-image/Dockerfile @@ -4,7 +4,8 @@ RUN apt -yq update && \ apt -yq install --no-install-recommends git curl wget ca-certificates RUN groupadd -g 1000 ubuntu && useradd -ms /bin/bash -u 1000 -g 1000 ubuntu && \ - groupadd -g 1001 buildifier && useradd -ms /bin/bash -u 1001 -g 1001 buildifier + groupadd -g 1001 buildifier && useradd -ms /bin/bash -u 1001 -g 1001 buildifier && \ + echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers USER ubuntu