Guest User

Untitled

a guest
Mar 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. FROM ubuntu:xenial
  2.  
  3. RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-properties-common && rm -rf /var/lib/apt/lists/*
  4.  
  5. RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
  6. git \
  7. ansible \
  8. && rm -rf /var/lib/apt/lists/*
  9.  
  10. RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
  11.  
  12. ENTRYPOINT ["/sbin/init"]
Add Comment
Please, Sign In to add comment