Dockerfile.ubuntu-14.04 316 B

1234567891011
  1. FROM ubuntu:14.04
  2. RUN apt-get update
  3. # Install Ansible
  4. RUN apt-get install -y software-properties-common git
  5. RUN apt-add-repository -y ppa:ansible/ansible
  6. RUN apt-get update
  7. RUN apt-get install -y ansible
  8. # Install Ansible inventory file
  9. RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts