From 63e9eb917727bd67ea9bf4084119e2cb573cec08 Mon Sep 17 00:00:00 2001 From: Carly Gundy Date: Tue, 30 Jul 2024 23:12:10 +0200 Subject: [PATCH] remove ubuntu user --- .github/minimal-runner-image/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/minimal-runner-image/Dockerfile b/.github/minimal-runner-image/Dockerfile index a4e35bdabee..f9bdb59ade0 100644 --- a/.github/minimal-runner-image/Dockerfile +++ b/.github/minimal-runner-image/Dockerfile @@ -3,8 +3,7 @@ FROM ubuntu:20.04 RUN apt -yq update && \ apt -yq install --no-install-recommends git curl wget ca-certificates sudo build-essential -RUN groupadd -g 1000 ubuntu && useradd -ms /bin/bash -u 1000 -g 1000 ubuntu && \ - groupadd -g 1001 runner && useradd -ms /bin/bash -u 1001 -g 1001 runner && \ +RUN groupadd -g 1001 runner && useradd -ms /bin/bash -u 1001 -g 1001 runner && \ echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers USER runner