ci: add custom user for dev containers
This commit is contained in:
parent
2a3822b4d1
commit
8810b5875f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue