Skip to content
collectdPublic

About

Docker images for the Continuous Integration setup

Resources

Stars

4 stars

Watchers

10 watching

Forks

Repository files navigation

Helper images for building collectd

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/packages and <distro>/packages list the packages to install (combined and deduplicated at build time).
  • <family>-shared/expected-plugins and <distro>/expected-plugins list 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: rebuilds debian_unstable and fedora_main daily.
  • weekly-jobs.yml: rebuilds release distributions weekly.
  • merge-jobs.yml: rebuilds and pushes all targets on push to main.
  • pr-jobs.yml: builds and tests all targets on pull requests to main.

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

About

Docker images for the Continuous Integration setup

Resources

Stars

4 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages