2018-06-27 22:36:26 +02:00
|
|
|
FROM ubuntu:artful
|
|
|
|
|
|
|
|
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 \
|
|
|
|
apt-transport-https \
|
|
|
|
curl \
|
2018-06-28 00:13:17 +02:00
|
|
|
init \
|
2018-06-27 22:36:26 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
|
|
|
|
|
|
|
ENTRYPOINT ["/sbin/init"]
|