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>
This commit is contained in:
Felix Singer 2023-09-08 02:17:52 +00:00 committed by Felix Singer
parent 1739c99efe
commit 59d27ec1c7
1 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,9 @@
FROM archlinux:latest FROM archlinux:latest
RUN \
echo "export EDITOR=nvim" > /etc/profile.d/cbsettings.sh && \
chmod 755 /etc/profile.d/cbsettings.sh
RUN pacman-key --init && \ RUN pacman-key --init && \
pacman -Sy --noconfirm archlinux-keyring && \ pacman -Sy --noconfirm archlinux-keyring && \
pacman-key --populate && \ pacman-key --populate && \
@ -9,11 +13,21 @@ RUN pacman-key --init && \
RUN pacman -S --noconfirm \ RUN pacman -S --noconfirm \
base-devel \ base-devel \
bash-completion \ bash-completion \
bzip2 \
ccache \
cscope \
gcc-ada \ gcc-ada \
git \ git \
go \ go \
htop \ htop \
lcov \
less \
msitools \
neovim \ neovim \
openssl \
python3 \ python3 \
tmux && \ shellcheck \
tmux \
unzip \
xz && \
rm -r /var/cache/pacman/pkg/* rm -r /var/cache/pacman/pkg/*