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
docker pull registry.gitlab.com/cappysan/images/debian:13
Contents
This docker inherits from debian and adds:
curl to be able to trigger webhooks
gettext to have envsubst to alter
Dockerfile
on the fly (without usingDocker
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
viaMakefile
moreutils to have tools such as
sponge
pipx to be able to install Python packages
python3-venv to be able to install Python packages. (deprecated in favor of
uv
)rsync to be able to handle remote file repositories and merging
systemctl to be able to run mock systemctl commands in
molecule
uv as a unified pip, virtualenv, pip-tools, …
This list is subject to change at any time. It is recommended that you include the appropriate commands (eg: apt-get install
/ pipx install
) in your continuous integration setup to ensure these dependencies are present. In the best case, the installation will be a no-op.
Usage
An example of cappysan/debian usage in an molecule.yml
file:
platforms:
- name: instance
image: registry.gitlab.com/cappysan/images/debian:13
pre_build_image: false