ci: add custom user for dev containers
This commit is contained in:
parent
2a3822b4d1
commit
8810b5875f
5
.github/workflows/dev-tools.yml
vendored
5
.github/workflows/dev-tools.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user