2b72889d90
Implement support to test the role in multiple Linux distributions by deploying Docker containers within Travis
19 lines
462 B
Docker
19 lines
462 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 \
|
|
&& 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"]
|