util/docker/fedora: Add Dockerfile.base

Following commands were used to test if everything builds:

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

Change-Id: I8d04c570f91215f534f173db2ae559b64b58012f
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79316
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
This commit is contained in:
Felix Singer 2023-11-29 19:36:39 +01:00 committed by Felix Singer
parent 9c1bf3c29a
commit 944bed2c7d
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
FROM fedora:latest
RUN \
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf && \
dnf update -y && \
dnf install -y \
bash-completion \
bc \
bison \
bzip2 \
ccache \
cmake \
cscope \
diffutils \
dtc \
flex \
gcc-c++ \
gcc-gnat \
git \
go \
htop \
lcov \
less \
libusb1 \
make \
meson \
ncurses-devel \
neovim \
nss-devel \
nss-util-devel \
openssl \
openssl-devel \
patch \
perl-English \
perl-FindBin \
perl-Hash-Util \
perl-Sys-Hostname \
python3 \
shellcheck \
tmux \
xz \
zlib-devel && \
dnf clean all && \
ln -s /usr/bin/python3 /usr/bin/python