Skip to content

Commit

Permalink
Merge pull request #153 from jsimonetti/develop
Browse files Browse the repository at this point in the history
Add Dockerfile
  • Loading branch information
dbarrosop committed Jun 27, 2018
2 parents 6014afe + abcdf15 commit af948f2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM python:3.6
RUN set -x && \
pip install nornir
VOLUME [ "/nornir" ]
WORKDIR "/nornir"
ENTRYPOINT [ "/usr/local/bin/python" ]
#usage:
# from inside your nornir base directory run: docker run -it --rm -v `pwd`:/nornir nornir:latest get_facts.py

0 comments on commit af948f2

Please sign in to comment.