Ansible in Alpine Docker container based on official 'python' image
10K+
This Docker image is managed and kept up to date by epicsoft LLC.
Ansible in Alpine Docker container based on official 'python' image.
3.24 3.24-plugins latest latest-plugins
based on python:3-alpine3.24 image with alpine 3.24.x - build weekly
3.x.x - depending on base image2.21.3 (2026-09-01) - depending on Python package ansibleansible latest version - https://pypi.org/project/ansible/ansible-lint latest version - https://pypi.org/project/ansible-lint/hvac latest version - https://pypi.org/project/hvac/botocore latest version - https://pypi.org/project/botocore/boto3 latest version - https://pypi.org/project/boto3/resolvelib latest version - https://pypi.org/project/resolvelib/*-plugins
Plugins are installed in an additional image with the suffix -plugins
community.general - https://galaxy.ansible.com/ui/repo/published/community/general/ansible.posix - https://galaxy.ansible.com/ui/repo/published/ansible/posix/ansible.netcommon - https://galaxy.ansible.com/ui/repo/published/ansible/netcommon/community.hashi_vault - https://galaxy.ansible.com/community/hashi_vaultansible-modules-hashivault - https://github.com/TerryHowe/ansible-modules-hashivaultThese tags are no longer built. They are based on Alpine Linux releases that have reached their end of support and therefore no longer receive updates. The tags remain available in the registry, the Dockerfiles remain in the repository for reference.
3.20 3.20-plugins - alpine 3.20, end of support 2026-04-013.19 3.19-plugins - alpine 3.19, end of support 2025-11-013.18 3.18-plugins - alpine 3.18, end of support 2025-05-09Alpine packages are installed in the current image in the latest version - https://pkgs.alpinelinux.org/packages
.gitlab-ci.yml
stages:
- deployment
TestDeployment:
stage: deployment
image: epicsoft/ansible:latest-plugins
script:
- ansible-playbook deployment.yml -i inventory.yml
A small workaround is necessary under WSL so that the correct permissions can be set.
docker run --rm -it --name ansible \
-v $(pwd):/in:ro \
epicsoft/ansible:latest-plugins \
sh -c "mkdir /ansible \
&& rsync -a --quiet --exclude='.git' /in/ /ansible/ \
&& chmod -R 700 /ansible \
&& chmod -R 400 /ansible/secrets \
&& cd /ansible \
&& ansible-playbook deployment.yml -i inventory.yml"
MIT License see LICENSE
Please note that the MIT license only applies to the files created by epicsoft LLC. Other software may be licensed under other licenses.
Content type
Image
Digest
sha256:fbfd3155c…
Size
231.3 MB
Last updated
5 days ago
docker pull epicsoft/ansible