You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
454 B
14 lines
454 B
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
|
|
|
|
COPY initctl_faker .
|
|
RUN chmod +x initctl_faker && rm -fr /sbin/initctl && ln -s /initctl_faker /sbin/initctl
|
|
|
|
# Install Ansible inventory file
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
|
|