ci: add custom user for dev containers

This commit is contained in:
jo 2022-08-13 20:21:19 +02:00 committed by Kyle Robbertze
parent 2a3822b4d1
commit 8810b5875f
1 changed files with 5 additions and 0 deletions

View File

@ -70,7 +70,12 @@ jobs:
python3 \ python3 \
python3-pip \ python3-pip \
python3-venv \ python3-venv \
sudo \
$(cat packages.list) $(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 EOF
- name: Build and push - name: Build and push