2018-04-14 00:24:09 +02:00
|
|
|
FROM ubuntu:trusty
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y software-properties-common && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN apt-add-repository -y ppa:ansible/ansible && apt-get update && apt-get install -y \
|
|
|
|
git \
|
|
|
|
ansible \
|
2018-04-14 00:59:19 +02:00
|
|
|
apt-transport-https \
|
2018-04-14 00:24:09 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/init"]
|