ansible-role-nginx/tests/dockerfiles/Dockerfile.debian-stretch
Alessandro Fael Garcia 51cd432317 Fix Dockerfiles
* Install apt-transport-https depency in Debian based containers
* Test different CMD instruction in CentOS 6 container
2018-04-13 15:53:19 -07:00

20 lines
486 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
&& 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"]