2018-04-14 00:24:09 +02:00
|
|
|
FROM debian:stretch
|
|
|
|
|
|
|
|
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
|
|
|
software-properties-common \
|
|
|
|
build-essential \
|
|
|
|
libffi-dev \
|
|
|
|
libssl-dev \
|
|
|
|
python-dev \
|
|
|
|
python-pip \
|
|
|
|
git \
|
|
|
|
systemd \
|
2018-04-14 00:59:19 +02:00
|
|
|
apt-transport-https \
|
2018-04-14 01:11:25 +02:00
|
|
|
curl \
|
2018-04-14 01:47:07 +02:00
|
|
|
gnupg1 \
|
2018-04-14 00:24:09 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN pip install --upgrade setuptools && pip install ansible
|
|
|
|
|
|
|
|
RUN mkdir -p /etc/ansible && echo "[local]\nlocalhost ansible_connection=local" > /etc/ansible/hosts
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/systemd"]
|