util/docker/archlinux: Extend the environment with packages and configs
Add more packages which are useful for a coreboot development and build
environment and also make neovim the default editor.
Change-Id: Ied09a9b9500d85348fc9c3862247bd8b85e50b54
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77724
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/util/docker/archlinux/Dockerfile b/util/docker/archlinux/Dockerfile
index 9c80483..d3309d0 100644
--- a/util/docker/archlinux/Dockerfile
+++ b/util/docker/archlinux/Dockerfile
@@ -1,5 +1,9 @@
FROM archlinux:latest
+RUN \
+ echo "export EDITOR=nvim" > /etc/profile.d/cbsettings.sh && \
+ chmod 755 /etc/profile.d/cbsettings.sh
+
RUN pacman-key --init && \
pacman -Sy --noconfirm archlinux-keyring && \
pacman-key --populate && \
@@ -9,11 +13,21 @@
RUN pacman -S --noconfirm \
base-devel \
bash-completion \
+ bzip2 \
+ ccache \
+ cscope \
gcc-ada \
git \
go \
htop \
+ lcov \
+ less \
+ msitools \
neovim \
+ openssl \
python3 \
- tmux && \
+ shellcheck \
+ tmux \
+ unzip \
+ xz && \
rm -r /var/cache/pacman/pkg/*