docker-debian12-systemd-ansible

Debian 12 "bookworm" based image intended for Ansible role testing using Molecule.

APACHE-2.0 License

Stars
0
Committers
1

Debian 12 "bookworm" Ansible Molecule Test Image

Debian 12 "bookworm" based image intended for Ansible role testing using Molecule.

This image is built automatically on each commit to the main branch, and published on the Docker Hub as havlasme/debian12-systemd-ansible:latest.

How to Use

To use this image in Molecule scenario, update the platforms section in the molecule.yml.

platforms:
- name: <rolename>-debian-bookworm
  image: docker.io/havlasme/debian12-systemd-ansible:latest
  pre_build_image: true
  command: '/lib/systemd/systemd'
  volumes:
  - /sys/fs/cgroup:/sys/fs/cgroup:ro

How to Build

To build the image locally simply run:

make build

To customize the image name, namespace, or version update the respective variable.

make build IMAGENAME=debian12-systemd-ansible NAMESPACE=havlasme VERSION=latest

License

Apache-2.0

Author Information

Created in 2024 by Tomáš Havlas.

Badges
Extracted from project README's
CI Apache-2.0 license Apache-2.0 license
Related Projects