debian

A Docker image that contains just the basic tools for running Debian tests in a CI/CD or even in a molecule test environment.

Downloading

cappysan/debian can be downloaded from GitLab:

docker pull registry.gitlab.com/cappysan/images/debian:11
docker pull registry.gitlab.com/cappysan/images/debian:12

Contents

This docker inherits from debian and adds:

  • curl to be able to trigger webhooks

  • gettext to have envsubst to alter Dockerfiles on the fly (without using Docker build-args)

  • git to be able to read current repository

  • gron to be able to parse a JSON response

  • jq to be able to parse a JSON response

  • make to enable building Dockerfiles via Makefiles

  • moreutils to have tools such as sponge

  • pipx to be able to install Python packages

  • python3-venv to be able to install Python packages

  • rsync to be able to handle remote file repositories and merging

  • systemctl to be able to run mock systemctl commands in molecule

Usage

An example of cappysan/debian usage in an molecule.yml file:

platforms:
  - name: instance
    image: registry.gitlab.com/cappysan/images/debian:11
    pre_build_image: false