docs: Alternative links to web archives added to external links
fixup! docs(README): mirror and contribute information added, 'reuse' badge link changed to sr.ht, archive links added to external links
Collection of Dockerfiles to build Container Images that include necessary packages to test Ansible Roles with Molecule.
Container based on sles12sp5:latest that includes Python2 to allow testing Ansible Roles with Molecule.
Container based on sles12sp5:latest that includes Python2 and systemd to allow testing Ansible Roles with Molecule.
Container based on ubi7/ubi-init:latest:latest that includes Python2 and systemd to allow testing Ansible Roles with Molecule.
docker run \ --tmpfs /run --tmpfs /tmp \ --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \ --volume /dev/shm --tmpfs /dev/shm:rw,nosuid,nodev,exec,size=64M \ --detach --rm \ --name <containername> \ <image>
/dev/shm line is nececessary to meet requirements of the included
sapconf package in the
Can be omitted when using other container or if
sapconf isn't required / can be ignored.
Further details why the other tmpfs and volume statements are necessary:
platforms: - name: <containername> image: <image> pre_build_image: true tmpfs: - /run - /tmp - /dev/shm:rw,nosuid,nodev,exec,size=64M volumes: - "/sys/fs/cgroup:/sys/fs/cgroup:ro" - "/dev/shm"
See How to run systemd Container with Docker section above for information about
The primary location is: https://git.sr.ht/~wombelix/ansible-molecule-container
Don't hesitate to provide Feedback, open an Issue or create an Pull / Merge Request.
Just pick the workflow or platform you prefer and are most comfortable with.
Feedback, Bug Reports or Patches via Email are also always welcome.
Unless otherwise stated:
GNU General Public License v3.0 or later
All files contain license information either as
header comment or
corresponding .license file.