cytopia/ansible

By cytopia

Updated 28 days ago

Alpine-based multistage-build version of Ansible for reproducible usage in CI

Image

100M+

Docker image for ansible

TagDockerLicense

lintbuildnightly

View Dockerfiles on GitHub.

Available Architectures:amd64, arm64

Tiny Alpine-based multistage-build dockerized version of Ansible[1] in many different flavours. It comes with Mitogen[2] to speed up your runs by up to 600%[3][4] (see Examples). The image is built nightly against multiple stable versions and pushed to Dockerhub.

Available Docker image versions

The following Docker image tags are rolling releases and are built and updated every night.

nightly

Ansible base

The following Ansible Docker images are as small as possible and only contain Ansible itself.

Docker TagGit RefAnsibleAvailable Architectures
latestmasterlatestamd64, arm64
2.13master2.13.xamd64, arm64
2.12master2.12.xamd64, arm64
2.11master2.11.xamd64, arm64
2.10master2.10.xamd64, arm64
2.9master2.9.xamd64, arm64
2.8master2.8.xamd64, arm64
Ansible tools

The following Ansible Docker images contain everything from Ansible base and additionally: bash, git, gpg, jq, ssh and dnspython and Ansible mitogen strategy plugin (see Examples).

Docker TagGit RefAnsibleAvailable Architectures
latest-toolsmasterlatestamd64, arm64
2.13-toolsmaster2.13.xamd64, arm64
2.12-toolsmaster2.12.xamd64, arm64
2.11-toolsmaster2.11.xamd64, arm64
2.10-toolsmaster2.10.xamd64, arm64
2.9-toolsmaster2.9.xamd64, arm64
2.8-toolsmaster2.8.xamd64, arm64
Ansible azure

The following Ansible Docker images contain everything from Ansible tools and additionally: azure.

Docker TagGit RefAnsibleAvailable Architectures
latest-azuremasterlatestamd64, arm64
2.13-azuremaster2.13.xamd64, arm64
2.12-azuremaster2.12.xamd64, arm64
2.11-azuremaster2.11.xamd64, arm64
2.10-azuremaster2.10.xamd64, arm64
2.9-azuremaster2.9.xamd64, arm64
2.8-azuremaster2.8.xamd64, arm64
Ansible aws

The following Ansible Docker images contain everything from Ansible tools and additionally: aws-cli, boto, boto3 and botocore.

Docker TagGit RefAnsibleAvailable Architectures
latest-awsmasterlatestamd64, arm64
2.13-awsmaster2.13.xamd64, arm64
2.12-awsmaster2.12.xamd64, arm64
2.11-awsmaster2.11.xamd64, arm64
2.10-awsmaster2.10.xamd64, arm64
2.9-awsmaster2.9.xamd64, arm64
2.8-awsmaster2.8.xamd64, arm64
Ansible awsk8s

The following Ansible Docker images contain everything from Ansible aws and additionally: openshift and kubectl.

Docker TagGit RefAnsibleAvailable Architectures
latest-awsk8smasterlatestamd64, arm64
2.13-awsk8smaster2.13.xamd64, arm64
2.12-awsk8smaster2.12.xamd64, arm64
2.11-awsk8smaster2.11.xamd64, arm64
2.10-awsk8smaster2.10.xamd64, arm64
2.9-awsk8smaster2.9.xamd64, arm64
2.8-awsk8smaster2.8.xamd64, arm64
Ansible awskops

The following Ansible Docker images contain everything from Ansible awsk8s and additionally: kops in its latest patch level version.

Docker TagGit RefAnsibleKopsAvailable Architectures
latest-awskops1.25masterlatest1.25.xamd64, arm64
2.13-awskops1.25master2.13.x1.25.xamd64, arm64
2.12-awskops1.25master2.12.x1.25.xamd64, arm64
2.11-awskops1.25master2.11.x1.25.xamd64, arm64
2.10-awskops1.25master2.10.x1.25.xamd64, arm64
2.9-awskops1.25master2.9.x1.25.xamd64, arm64
2.8-awskops1.25master2.8.x1.25.xamd64, arm64
latest-awskops1.24masterlatest1.24.xamd64, arm64
2.13-awskops1.24master2.13.x1.24.xamd64, arm64
2.12-awskops1.24master2.12.x1.24.xamd64, arm64
2.11-awskops1.24master2.11.x1.24.xamd64, arm64
2.10-awskops1.24master2.10.x1.24.xamd64, arm64
2.9-awskops1.24master2.9.x1.24.xamd64, arm64
2.8-awskops1.24master2.8.x1.24.xamd64, arm64
latest-awskops1.23masterlatest1.23.xamd64, arm64
2.13-awskops1.23master2.13.x1.23.xamd64, arm64
2.12-awskops1.23master2.12.x1.23.xamd64, arm64
2.11-awskops1.23master2.11.x1.23.xamd64, arm64
2.10-awskops1.23master2.10.x1.23.xamd64, arm64
2.9-awskops1.23master2.9.x1.23.xamd64, arm64
2.8-awskops1.23master2.8.x1.23.xamd64, arm64

...And more...

Ansible awshelm

The following Ansible Docker images contain everything from Ansible awsk8s and additionally: helm in its latest patch level version.

Docker TagGit RefAnsibleHelmAvailable Architectures
latest-awshelm3.10masterlatest3.10.xamd64, arm64
2.13-awshelm3.10master2.13.x3.10.xamd64, arm64
2.12-awshelm3.10master2.12.x3.10.xamd64, arm64
2.11-awshelm3.10master2.11.x3.10.xamd64, arm64
2.10-awshelm3.10master2.10.x3.10.xamd64, arm64
2.9-awshelm3.10master2.9.x3.10.xamd64, arm64
2.8-awshelm3.10master2.8.x3.10.xamd64, arm64
latest-awshelm3.9masterlatest3.9.xamd64, arm64
2.13-awshelm3.9master2.13.x3.9.xamd64, arm64
2.12-awshelm3.9master2.12.x3.9.xamd64, arm64
2.11-awshelm3.9master2.11.x3.9.xamd64, arm64
2.10-awshelm3.9master2.10.x3.9.xamd64, arm64
2.9-awshelm3.9master2.9.x3.9.xamd64, arm64
2.8-awshelm3.9master2.8.x3.9.xamd64, arm64
latest-awshelm3.8masterlatest3.8.xamd64, arm64
2.13-awshelm3.8master2.13.x3.8.xamd64, arm64
2.12-awshelm3.8master2.12.x3.8.xamd64, arm64
2.11-awshelm3.8master2.11.x3.8.xamd64, arm64
2.10-awshelm3.8master2.10.x3.8.xamd64, arm64
2.9-awshelm3.8master2.9.x3.8.xamd64, arm64
2.8-awshelm3.8master2.8.x3.8.xamd64, arm64

...And more...

Point in time releases

The following Docker image tags are built once and can be used for reproducible builds. Its version never changes so you will have to update tags in your pipelines from time to time in order to stay up-to-date.

build

Docker TagGit RefAvailable Architectures
<docker-tag>-<tag>git: <tag>amd64, arm64
  • Where <docker-tag> refers to any of the tags listed in Rolling releases above.
  • Where <tag> refers to the chosen git tag from this repository.

Related #awesome-ci projects

Docker images

Save yourself from installing lot's of dependencies and pick a dockerized version of your favourite linter below for reproducible local or remote CI tests:

GitHubDockerHubTypeDescription
awesome-ciaci-hub-imgBasicTools for git, file and static source code analysis
file-lintflint-hub-imgBasicBaisc source code analysis
linkchecklinkcheck-hub-imgBasicSearch for URLs in files and validate their HTTP status code
ansibleansible-hub-imgAnsibleMultiple versions and flavours of Ansible
ansible-lintalint-hub-imgAnsibleLint Ansible
gofmtgfmt-hub-imgGoFormat Go source code [1]
goimportsgimp-hub-imgGoFormat Go source code [1]
golintglint-hub-imgGoLint Go code
eslintelint-hub-imgJavascriptLint Javascript code
jsonlintjlint-hub-imgJSONLint JSON files [1]
kubevalkubeval-hub-imgK8sLint Kubernetes files
checkmakecm-hub-imgMakeLint Makefiles
phpcbfpcbf-hub-imgPHPPHP Code Beautifier and Fixer
phpcspcs-hub-imgPHPPHP Code Sniffer
phplintplint-hub-imgPHPPHP Code Linter [1]
php-cs-fixerpcsf-hub-imgPHPPHP Coding Standards Fixer
banditbandit-hub-imgPythonA security linter from PyCQA
blackblack-hub-imgPythonThe uncompromising Python code formatter
mypymypy-hub-imgPythonStatic source code analysis
pycodestylepycs-hub-imgPythonPython style guide checker
pydocstylepyds-hub-imgPythonPython docstyle checker
pylintpylint-hub-imgPythonPython source code, bug and quality checker
terraform-docstfdocs-hub-imgTerraformTerraform doc generator (TF 0.12 ready) [1]
terragrunttg-hub-imgTerraformTerragrunt and Terraform
terragrunt-fmttgfmt-hub-imgTerraformterraform fmt for Terragrunt files [1]
yamlfmtyfmt-hub-imgYamlFormat Yaml files [1]
yamllintylint-hub-imgYamlLint Yaml files

[1] Uses a shell wrapper to add enhanced functionality not available by original project.

Makefiles

Visit cytopia/makefiles for dependency-less, seamless project integration and minimum required best-practice code linting for CI. The provided Makefiles will only require GNU Make and Docker itself removing the need to install anything else.

License

MIT License

Copyright (c) 2019 cytopia

Docker Pull Command

docker pull cytopia/ansible