ansible-role-nginx/tests/dockerfiles/Dockerfile.debian-stretch
Alessandro Fael Garcia 408b09222c Replace gnupg1 by gnupg2
2018-04-13 16:57:39 -07:00

22 lines
512 B
Docker

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 \
apt-transport-https \
curl \
gnupg2 \
&& 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"]