ansible-role-apache/tests/Dockerfile.centos-6

11 lines
284 B
Text
Raw Normal View History

2015-12-14 03:20:24 +01:00
FROM centos:6
# Install Ansible
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum install -y ansible
# Install Ansible inventory file
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
2015-12-14 03:34:08 +01:00
CMD ["/sbin/init"]