summaryrefslogtreecommitdiffstats
path: root/tests/Dockerfile.ubuntu-12.04
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Dockerfile.ubuntu-12.04')
-rw-r--r--tests/Dockerfile.ubuntu-12.0411
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/Dockerfile.ubuntu-12.04 b/tests/Dockerfile.ubuntu-12.04
new file mode 100644
index 0000000..d0c130c
--- /dev/null
+++ b/tests/Dockerfile.ubuntu-12.04
@@ -0,0 +1,11 @@
+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