util/docker/rocky: Add Dockerfile.base

Following commands were used to test if everything builds:

    * make crossgcc
    * make clang
    * make what-jenkins-does

Change-Id: I60e00932332801c0f62d88b7860afb330d9469e4
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79384
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Zebreus <lennarteichhorn@googlemail.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Felix Singer 2023-11-29 19:36:39 +01:00 committed by Felix Singer
parent 57885b4195
commit 1bdb6695f4
1 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
FROM rockylinux:9
RUN \
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \
dnf update -y && \
dnf install -y epel-release 'dnf-command(config-manager)' && \
dnf config-manager --set-enabled epel && \
dnf config-manager --set-enabled epel-testing && \
dnf config-manager --set-enabled crb && \
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9 && \
dnf update -y && \
dnf install -y \
bash-completion \
bc \
bison \
bzip2 \
ccache \
cmake \
cscope \
diffutils \
dtc \
flex \
gcc-c++ \
git \
go \
htop \
lcov \
less \
make \
meson \
ncurses-devel \
neovim \
nss-devel \
nss-util-devel \
openssl-devel \
patch \
perl-English \
perl-FindBin \
perl-Hash-Util \
perl-Sys-Hostname \
python3 \
shellcheck \
tmux \
xz \
zlib-devel && \
dnf install -y --repo epel-testing gcc-gnat && \
dnf clean all && \
ln -s /usr/bin/python3 /usr/bin/python