ci: run test container as root

Should fix a permissions issue with github actions
This commit is contained in:
jo 2022-03-28 17:42:30 +02:00 committed by Kyle Robbertze
parent e97c405ee9
commit 4f14be8ca0
1 changed files with 0 additions and 12 deletions

View File

@ -67,19 +67,7 @@ jobs:
git \
python3 \
python3-pip \
sudo \
$(cat packages.list)
ARG USER=docker
ARG UID=1000
ARG GID=1000
RUN adduser --disabled-password --uid=${UID} --gecos '' ${USER} && \
adduser ${USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER ${UID}:${GID}
WORKDIR /home/${USER}
EOF
- name: Build and push