Created
January 15, 2016 04:41
-
-
Save thetrav/f5892b9d5ac88c088690 to your computer and use it in GitHub Desktop.
Ansible in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build -t=dev/ansible . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y wget build-essential python python-dev | |
RUN wget https://bootstrap.pypa.io/get-pip.py | |
RUN python get-pip.py | |
RUN pip install ansible | |
CMD /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it dev/ansible /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment