13 lines
505 B
Docker
13 lines
505 B
Docker
|
# vim:sts=2:sw=2
|
||
|
FROM archlinux:latest
|
||
|
|
||
|
RUN pacman -Syy && pacman -S --noconfirm base-devel git nodejs sudo && \
|
||
|
useradd -m -s /bin/bash paru && \
|
||
|
echo "paru ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/paru && \
|
||
|
chmod 0440 /etc/sudoers.d/paru && \
|
||
|
su - paru -c "git clone https://aur.archlinux.org/paru-bin.git; cd paru-bin; makepkg --noconfirm -csi" && \
|
||
|
pacman -Scc --noconfirm
|
||
|
|
||
|
COPY --chmod=0755 --chown=root:root paruw.sh /paruw.sh
|
||
|
COPY --chmod=0755 --chown=root:root fixperms.sh /fixperms.sh
|