ci: run test container as root
Should fix a permissions issue with github actions
This commit is contained in:
parent
e97c405ee9
commit
4f14be8ca0
|
@ -67,19 +67,7 @@ jobs:
|
||||||
git \
|
git \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
sudo \
|
|
||||||
$(cat packages.list)
|
$(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
|
EOF
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
|
Loading…
Reference in New Issue