improve container image to have tools needed while used in a ci/cd pipeline
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s

This commit is contained in:
Lukas Greve
2025-11-14 12:23:05 +01:00
parent 075ceb67bd
commit acd28eaa80

View File

@@ -1,6 +1,84 @@
FROM fedora:latest FROM fedora:latest
# Set working directory # Set labels
WORKDIR /app LABEL maintainer="Lukas Greve <lukas@phyllo.me>"
LABEL DISTTAG=f42container
LABEL FGC=f42
LABEL FBR=f42
CMD env # Install essential build tools and dependencies
RUN /bin/sh -c "dnf -y update --refresh && \
dnf install -y \
livemedia-creator \
anaconda \
lorax \
make \
git \
gcc \
gcc-c++ \
cmake \
clang \
clang-tools-extra \
python3 \
python3-pip \
python3-devel \
python3-setuptools \
python3-wheel \
nodejs \
npm \
java-11-openjdk \
java-11-openjdk-devel \
ruby \
ruby-devel \
rust \
cargo \
go \
perl \
perl-Module-Build \
perl-ExtUtils-MakeMaker \
gettext \
wget \
curl \
unzip \
tar \
gzip \
bzip2 \
xz \
vim \
which \
procps-ng \
findutils \
coreutils \
diffutils \
patch \
shadow-utils \
util-linux \
grep \
sed \
awk \
bash \
zsh \
openssh-clients \
openssl \
ca-certificates \
libarchive \
libtool \
automake \
autoconf \
libffi-devel \
openssl-devel \
zlib-devel \
bison \
flex \
gdb \
strace \
ltrace \
valgrind && \
dnf clean all && \
rm -rf /var/cache/dnf"
# Set working directory
WORKDIR /build
# Default command
CMD ["/bin/bash"]