Here is a collection of manifests used to build the Docker images hosted at: https://cloud.docker.com/u/collectd/repository/docker/collectd/ci/tags
All Docker images are built from main using two parameterized Dockerfiles:
Dockerfile.debian(used for Debian and Ubuntu targets)Dockerfile.redhat(used for CentOS and Fedora targets)
Each target has its own directory (for example debian13/ or fedora39/),
paired with a shared family directory (debian-shared/ or redhat-shared/):
<family>-shared/packagesand<distro>/packageslist the packages to install (combined and deduplicated at build time).<family>-shared/expected-pluginsand<distro>/expected-pluginslist the plugins collectd is expected to build on that target.
We stick to the official repositories and only install packages found there, to ensure collectd releases integrate smoothly in these distributions.
You can build an image locally by passing BASE_IMAGE and DISTRO:
docker build -f Dockerfile.debian --build-arg BASE_IMAGE=debian:trixie --build-arg DISTRO=debian13 -t collectd/ci:debian13 .GitHub Actions take care of building these images and pushing them to
cloud.docker.com:
daily-jobs.yml: rebuildsdebian_unstableandfedora_maindaily.weekly-jobs.yml: rebuilds release distributions weekly.merge-jobs.yml: rebuilds and pushes all targets on push tomain.pr-jobs.yml: builds and tests all targets on pull requests tomain.
Here's an example of how you can build collectd on Debian unstable:
git clone https://github.com/collectd/collectd
docker run -it --rm -v $PWD/collectd:/collectd -w /collectd collectd/ci:debian_unstable
./build.sh && ./configure && make all check