2019-09-18 20:34:42 -03:00

11 lines
264 B
Docker

FROM python:3.7-slim-buster
ARG ANSIBLE_VERSION=2.8.5
ADD entrypoint.sh /
RUN set -x \
&& chmod +x /entrypoint.sh \
&& pip3 install -U pip \
&& pip3 install ansible==${ANSIBLE_VERSION} \
&& rm -rf /root/.cache
VOLUME /ansible
ENTRYPOINT ["/entrypoint.sh"]