https://github.com/hugomrdias/docker-ansible
This repo is mirrored every hour from gitlab
https://github.com/hugomrdias/docker-ansible
Last synced: 3 months ago
JSON representation
This repo is mirrored every hour from gitlab
- Host: GitHub
- URL: https://github.com/hugomrdias/docker-ansible
- Owner: hugomrdias
- License: mit
- Created: 2016-06-27T15:58:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-30T16:31:25.000Z (over 8 years ago)
- Last Synced: 2025-03-02T04:29:11.364Z (3 months ago)
- Homepage: https://gitlab.com/hugomrdias/docker-ansible
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-ansible [](https://gitlab.com/hugomrdias/docker-ansible/commits/master)
> Docker image to test ansible roles based on debian jessie or ubuntu xenialThis is for advanced users.
The images use Ansible stable version (installed from official PyPI repo)## Build
```
docker build -f ubuntu/Dockerfile -t hugomrdias/ansible:ubuntu .
docker build -f debian/Dockerfile -t hugomrdias/ansible:debian .
```## Running
```
docker run -v `pwd`:/tmp/"${PWD##*/}" -w /tmp/"${PWD##*/}" --rm -it hugomrdias/ansible
```## Resources
https://www.dajobe.org/blog/2015/04/18/making-debian-docker-images-smaller/
https://docs.docker.com/engine/tutorials/dockerimages/## License
MIT © [Hugo Dias](http://hugodias.me)