container image for cpp fun
wanderer
81860b9567
All checks were successful
continuous-integration/drone/push Build is passing
have a more recent version of nDPI available keep 1.7 for backward compatibility (until it's not needed) but also include a build from the dev branch (this might even be unstable at times) Reviewed-on: #2 Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml> Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml> |
||
---|---|---|
hooks | ||
.drone.yml | ||
.hadolint.yaml | ||
Dockerfile | ||
Makefile | ||
README.md |
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:34
image - the result of
dnf install -y \
git \
make \
{c,auto}make \
gcc \
gcc-c++ \
libgcc \
libstdc++-{devel,static} \
glibc-devel \
binutils \
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} \
&& dnf 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.