From 8810b5875f5c47e2e24e2b6b31ade98610aae323 Mon Sep 17 00:00:00 2001 From: jo Date: Sat, 13 Aug 2022 20:21:19 +0200 Subject: [PATCH] ci: add custom user for dev containers --- .github/workflows/dev-tools.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dev-tools.yml b/.github/workflows/dev-tools.yml index 1c0d7d087..7b978cdbf 100644 --- a/.github/workflows/dev-tools.yml +++ b/.github/workflows/dev-tools.yml @@ -70,7 +70,12 @@ jobs: python3 \ python3-pip \ python3-venv \ + sudo \ $(cat packages.list) + + RUN adduser --disabled-password --gecos '' --uid 1001 runner + RUN adduser runner sudo + RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers EOF - name: Build and push