Dockerfile.ubuntu-12.04 343 B

1234567891011
  1. FROM ubuntu:12.04
  2. RUN apt-get update
  3. # Install Ansible
  4. RUN apt-get install -y software-properties-common python-software-properties 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