Debian Stretch image for testing Ansible roles, etc.
901
Various OS images with additional packages added to make them useful for testing Ansible roles, etc. along with tools like Test-Kitchen or Molecule.
bdclark/ubuntu-1804-test - derived from ubuntu:18.04 official image (uses Python2)bdclark/ubuntu-1604-test - derived from ubuntu:16.04 official image (uses Python2)bdclark/ubuntu-2004-test - derived from ubuntu:16.04 official imagebdclark/centos-7 - derived from centos:7 official imagebdclark/centos-8 - derived from centos:8 official imagebdclark/amazonlinux-2-test - derived from amazonlinux:2 official imagebdclark/debian-8-test - derived from debian:jessie official imagebdclark/debian-9-test - derived from debian:stretch official imagebdclark/debian-10-test - derived from debian:buster official imageThe images all have systemd installed and are expected to be used in a way where systemd is running as pid 1 for testing services.
Here's an example docker run command using systemd as pid 1:
docker run --detach \
--cap-add SYS_ADMIN \
--tmpfs /run --tmpfs /run/lock \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--stop-signal "SIGRTMIN+3" \
bdclark/ubuntu-1804-test /lib/systemd/systemd
See my Jenkins Ansible role for an example of how to use these images for testing an Ansible role using Test-Kitchen on TravisCI.
Please note that Ansible is NOT installed on these images. This allows them to be used to test against various versions of Ansible without maintaining version-specific images.
Content type
Image
Digest
Size
80.6 MB
Last updated
about 6 years ago
docker pull bdclark/debian-9-test