diff --git a/Dockerfile b/Dockerfile index 96feeb2..f34bde9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,10 @@ FROM archlinux:latest USER root +RUN useradd -g users -m -s /bin/bash jenkins + +RUN usermod -a -G audio,video,disk,storage jenkins + # update system RUN pacman -Syu --noconfirm \ && \ @@ -42,6 +46,8 @@ RUN pip install \ ENV PATH /tmp/node_modules/.bin:$PATH +USER jenkins + WORKDIR /workspace/ CMD ["/usr/bin/sleep", "5121512"]