add basic user
Some checks reported errors
WEB karideo and rabbit/docker-builder/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
WEB karideo and rabbit/docker-builder/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
f097b58480
commit
49459eb375
@ -2,6 +2,10 @@ FROM archlinux:latest
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
RUN useradd -g users -m -s /bin/bash jenkins
|
||||||
|
|
||||||
|
RUN usermod -a -G audio,video,disk,storage jenkins
|
||||||
|
|
||||||
# update system
|
# update system
|
||||||
RUN pacman -Syu --noconfirm \
|
RUN pacman -Syu --noconfirm \
|
||||||
&& \
|
&& \
|
||||||
@ -42,6 +46,8 @@ RUN pip install \
|
|||||||
|
|
||||||
ENV PATH /tmp/node_modules/.bin:$PATH
|
ENV PATH /tmp/node_modules/.bin:$PATH
|
||||||
|
|
||||||
|
USER jenkins
|
||||||
|
|
||||||
WORKDIR /workspace/
|
WORKDIR /workspace/
|
||||||
|
|
||||||
CMD ["/usr/bin/sleep", "5121512"]
|
CMD ["/usr/bin/sleep", "5121512"]
|
||||||
|
Loading…
Reference in New Issue
Block a user