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
Some checks failed
Build and Push Docker Image / build (push) Failing after 31s
This commit is contained in:
84
Dockerfile
84
Dockerfile
@@ -1,6 +1,84 @@
|
||||
FROM fedora:latest
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
# Set labels
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user