surtur
a841268fa5
commit b37613c3aa6260740c92c6f49d517f2dc89e4020 Author: surtur <a_mirre@utb.cz> Date: Mon Jan 10 01:46:21 2022 +0100 chore: update README to reflect bump to f35 [skip ci] commit 7c2214e3c1e508daaac71398f09fe523d8589bd4 Author: surtur <a_mirre@utb.cz> Date: Thu Oct 21 01:15:51 2021 +0200 switch to fedora-minimal use microdnf as a consequence commit 149781968b9c9845159554e99efc9ea8fc4a4a66 Author: surtur <a_mirre@utb.cz> Date: Wed Oct 20 00:07:54 2021 +0200 bump fedora version to 35 also update README.md
2.8 KiB
2.8 KiB
docker-fedora-cpp
This repository provides a Dockerfile to create a container image mainly used for CI testing of C/C++ programs on Fedora.
The image is rebuilt nightly to ensure it always has the latest packages.
development happens on this Gitea instance
What you get
- updated
registry.fedoraproject.org/fedora-minimal:35
image - the result of
microdnf install --nodocs dnf dnf-plugins-core -y && \
dnf copr enable eddsalkield/iwyu -y && \
microdnf install --nodocs --setopt install_weak_deps=0 -y \
git \
ninja-build \
make \
{c,auto}make \
gcc \
gcc-c++ \
libgcc \
libstdc++-{devel,static} \
glibc-devel \
iwyu \
cryptopp-devel \
libasan-static \
liblsan-static \
libubsan-static \
libtsan-static \
binutils \
lld \
flex \
bison \
openmpi-devel \
which \
file \
grpc-{cli,cpp,devel,plugins} \
protobuf-c-{devel,compiler} \
protobuf-compiler \
cppunit \
log4cpp-devel \
json-c-devel \
capnproto-{devel,libs} \
libpcap-devel \
hiredis-devel \
mongo-c-driver-{devel,libs} \
boost-{devel,atomic,chrono,date-time,system,program-options,regex,thread} \
libtool \
autoconf \
pkgconf \
kernel-devel \
ncurses-{c++-libs,devel,libs,static} \
numactl-{devel,libs} \
&& dnf copr disable eddsalkield/iwyu \
&& rm -vf /etc/dnf/protected.d/dnf.conf \
&& microdnf remove dnf-plugins-core -y \
&& rpm --nodeps -e dnf \
&& microdnf clean all -y
- compiled
github.com/ntop/nDPI.git
Purpose
- testing c/cpp programs in CI without the need to install all of the deps (such as protobuf, capnproto, pcap, boost, etc...) all the time.
found out that if there's enough deps it can actually take more time to pre-configure the environment than downloading a single image once reusing it for all subsequent CI builds.