mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-12-02 13:23:22 +01:00
12 lines
343 B
Docker
12 lines
343 B
Docker
FROM ubuntu:12.04
|
|
RUN apt-get update
|
|
|
|
# Install Ansible
|
|
RUN apt-get install -y software-properties-common python-software-properties git
|
|
RUN apt-add-repository -y ppa:ansible/ansible
|
|
RUN apt-get update
|
|
RUN apt-get install -y ansible
|
|
|
|
# Install Ansible inventory file
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|