{"id":18676929,"url":"https://github.com/chusiang/ansible.dockerfile","last_synced_at":"2025-07-24T23:39:23.914Z","repository":{"id":142952036,"uuid":"95678553","full_name":"chusiang/ansible.dockerfile","owner":"chusiang","description":"Docker image of Ansible x Ansible-lint on Alpine Linux.","archived":false,"fork":false,"pushed_at":"2025-07-13T04:08:22.000Z","size":73,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T05:27:22.632Z","etag":null,"topics":["alpine-linux","ansible","ansible-lint","docker","docker-image","dockerfile","dockerhub"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/chusiang/ansible/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chusiang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-28T14:35:47.000Z","updated_at":"2025-07-13T04:08:25.000Z","dependencies_parsed_at":"2023-07-24T03:45:31.558Z","dependency_job_id":null,"html_url":"https://github.com/chusiang/ansible.dockerfile","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/chusiang/ansible.dockerfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chusiang%2Fansible.dockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chusiang%2Fansible.dockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chusiang%2Fansible.dockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chusiang%2Fansible.dockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chusiang","download_url":"https://codeload.github.com/chusiang/ansible.dockerfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chusiang%2Fansible.dockerfile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266923038,"owners_count":24006996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","ansible","ansible-lint","docker","docker-image","dockerfile","dockerhub"],"created_at":"2024-11-07T09:31:47.508Z","updated_at":"2025-07-24T23:39:23.887Z","avatar_url":"https://github.com/chusiang.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker image: Ansible\n\n[![GitHub](https://img.shields.io/badge/github-chusiang/ansible.dockerfile-blue.svg)][github_repo] [![OS](https://img.shields.io/badge/os-alpine-blue.svg)][alpine_image]\n\nA Docker image for run the [Ansible][ansible_official] Engine on Alpine Linux.\n\n[![Docker hub](https://hub.docker.com/r/chusiang/ansible)][dockerhub_repo]\n\n[github_repo]: https://github.com/chusiang/ansible.dockerfile\n[alpine_image]: https://hub.docker.com/_/alpine/\n[dockerhub_repo]: https://hub.docker.com/repository/docker/chusiang/ansible\n[ansible_official]: https://www.ansible.com/\n\n## Supported tags and respective `Dockerfile` links\n\n- `11`, `latest` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v11/Dockerfile)\n- `10` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v10/Dockerfile)\n- `9` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v9/Dockerfile)\n- `8` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v8/Dockerfile)\n- `7` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v7/Dockerfile)\n- `6` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v6/Dockerfile)\n- `5` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v5/Dockerfile)\n- `4` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v4/Dockerfile)\n- `3` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v3/Dockerfile)\n- `2.9` [_(Dockerfile)_](https://github.com/chusiang/ansible.dockerfile/blob/main/v2.9/Dockerfile)\n\n\u003e Note: `ansible` current version is v11.7.0 (`ansible-core` v2.18.6). Please\n\u003e see the \"[Releases and maintenance | Ansible Documentation][release_and_maintenance]\".\n\n[release_and_maintenance]: https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html\n\n## Build image\n\n1. Get this project.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ git clone https://github.com/chusiang/ansible.dockerfile.git\n    ```\n\n1. Go to workspace.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ cd ansible.dockerfile/\u003cREVERSION\u003e\n    ```\n\n1. Bunild the image.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ docker build -t ansible .\n\n    [ chusiang@workstation ~ ]\n    $ docker build -t ansible:\u003cREVERSION\u003e .\n    ```\n\n## Run container\n\n1. Get image.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ docker pull chusiang/ansible\n    ```\n\n1. Run container with bash shell.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ docker run --name ansible -it chusiang/ansible bash\n    5e9dd71fbf02:~$\n    ```\n\n1. Enter exist container with command line.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ docker exec -it ansible bash\n    5e9dd71fbf02:~$ whoami\n    ansibull\n    ```\n\n    \u003e Default not use root user after `chusiang/ansible:8` for security.\n\n1. Check container process.\n\n    ```console\n    [ chusiang@workstation ~ ]\n    $ docker ps\n    ```\n\nEnjoy it !\n\n## History\n\n### 2025\n\n- 07/13 Add `11` image, the Ansible v11.0.0 release at\n    [Nov 20, 2024](https://pypi.org/project/ansible/11.0.0/).\n- 07/13 Add `10` image, the Ansible v10.0.1 release at\n    [Jun 6, 2024](https://pypi.org/project/ansible/10.0.1/).\n- 07/13 Add `9` image, the Ansible v9.0.1 release at\n    [Nov 22, 2023](https://pypi.org/project/ansible/9.0.1/).\n- 07/12 Add `8` image by multi-stage builds, the Ansible v8.0.0 release at\n    [May 31, 2023](https://pypi.org/project/ansible/8.0.0/).\n\n### 2022\n\n- 11/24 Add `7` image, the Ansible v7.0.0 release at [Nov 23, 2022](https://pypi.org/project/ansible/7.0.0/).\n- 11/24 Add `6` image, the Ansible v6.0.0 release at [Jun 22, 2022](https://pypi.org/project/ansible/6.0.0/).\n- 11/24 Add `5` image, the Ansible v5.0.1 release at [Dec 3, 2021](https://pypi.org/project/ansible/5.0.1/).\n- 11/24 Stop maintian `2.10` image and remove it, please use `3` image.\n\n### 2021\n\n- 07/11: Refactor the `2.9` Dockerfile with Python 3, and switch `latest` tag\n    to `2.9`.\n- 07/09: Add `4` image, the Ansible v4.0.0 release at [May 18 2021](https://docs.ansible.com/ansible/latest/roadmap/COLLECTIONS_4.html).\n- 07/09: Add `3` image, the Ansible v3.0.0 release at [Feb 16 2021](https://docs.ansible.com/ansible/latest/roadmap/COLLECTIONS_3_0.html).\n- 07/09: Add `2.10` image, the Ansible v2.10.0 release at [Aug 14 2020](https://github.com/ansible/ansible/releases/tag/v2.10.0).\n\n### 2020\n\n- 03/03 Add `ONBUILD` rule for copy current directory to `/srv/`.\n\n### 2019\n\n- 12/09: Refactor \"Update the CA certificates\" part for fixed \"wget: error\n    getting response: Connection reset by peer\" problem.\n    [(REF)](https://github.com/Yelp/dumb-init/issues/73)\n- 11/14: Add `2.9` image, the Ansible v2.9.0 release at\n    [Oct 31 2019](https://github.com/ansible/ansible/releases/tag/v2.9.0), and\n    add install `py-netaddr` package.\n- 07/04: Add `2.8` image, the Ansible v2.8.0 release at\n    [May 17 2019](https://github.com/ansible/ansible/releases/tag/v2.8.0), and\n    remove install the vim.\n\n### 2018\n\n- 10/11: Add `2.7` image, the Ansible v2.7.0 release at\n    [Wed Oct 3 20:26:57 2018 -0700](https://github.com/ansible/ansible/releases/tag/v2.7.0).\n- 07/10: Add `2.6` image, the Ansible v2.6.0 release at\n    [Thu Jun 28 14:38:38 2018 -0700](https://github.com/ansible/ansible/releases/tag/v2.6.0).\n- 04/03: Add `2.5` image, the Ansible v2.5.0 release at\n    [Thu Mar 22 17:09:19 2018 -0700](https://github.com/ansible/ansible/releases/tag/v2.5.0).\n- 02/19: The `2.4` image has upgraded the ansible from `2.4.2` to `2.4.3`.\n- 01/10: Refactor the architecture. Add `2.4` image and add the `ansible-lint` package.\n\n## License\n\nMIT license from 2017-2025.\n\n## Author Information\n\n1. [Chu-Siang Lai](https://note.drx.tw)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchusiang%2Fansible.dockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchusiang%2Fansible.dockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchusiang%2Fansible.dockerfile/lists"}