mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
14 lines
418 B
Docker
14 lines
418 B
Docker
|
FROM archlinux:base-devel
|
||
|
|
||
|
RUN pacman -Syu --noconfirm --noprogressbar --quiet \
|
||
|
devtools git pacman-contrib \
|
||
|
go git rsync lsb-release && \
|
||
|
paccache -r -k 0 && \
|
||
|
pacman -Rscn --noconfirm --noprogressbar pacman-contrib && \
|
||
|
useradd -m -s /bin/bash -u 1000 build && \
|
||
|
echo "build ALL=NOPASSWD: ALL" >> /etc/sudoers && \
|
||
|
chown -R build:build /home/build
|
||
|
|
||
|
USER build
|
||
|
CMD ["/bin/bash"]
|