Adds default user, sudo, AUR, git, wget, genromfs and kconfig-frontends to official Arch Linux.
1.2K
FROM archlinux/base
ENV AURMAN_URL="https://aur.archlinux.org/cgit/aur.git/snapshot/aurman.tar.gz"
RUN pacman --noconfirm -Syu \
&& pacman --noconfirm -S \
base-devel python python-pip openssh git wget \
sudo expac pyalpm python-dateutil python-feedparser python-regex python-requests \
vim \
gperf libglade \
rsync \
&& rm /var/cache/pacman/pkg -rf
RUN useradd -m user && echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers ; gpasswd -a user wheel
RUN su user -c '( wget "${AURMAN_URL}" -O ~/aurman.tar.gz ; cd ~ ; tar xzf aurman.tar.gz ; cd aurman ; makepkg --skippgpcheck )' \
&& pacman -U --noconfirm /home/user/aurman/aurman-*.pkg.tar.xz \
&& rm /home/user/aurman -r
RUN su user -c "aurman -S --noconfirm --skip_news --noedit genromfs" \
&& rm /var/cache/pacman/pkg -rf
RUN su user -c "mkdir ~/kconfig-frontends ; cd ~/kconfig-frontends ; wget https://gitlab.com/w8jcik/nuttx-cli/snippets/1740580/raw -O PKGBUILD ; makepkg" \
&& pacman -U --noconfirm /home/user/kconfig-frontends/kconfig-frontends-*.pkg.tar.xz \
&& rm /home/user/kconfig-frontends -r
Content type
Image
Digest
Size
451 MB
Last updated
almost 7 years ago
docker pull w8jcik/arch-nuttx-base