ansible-roles/Dockerfile
Victor LABORIE 8314053506
All checks were successful
continuous-integration/drone/push Build is passing
Add DroneCI config for build Docker image
2019-06-17 14:06:13 +02:00

21 lines
515 B
Docker

FROM debian:stretch-slim
ENV ROLES_VERSION=${ROLES_VERSION:-unstable}
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
ansible \
&& rm -rf /var/lib/apt/lists/*
RUN ansible-galaxy install --force \
--roles-path /etc/ansible \
"git+https://gitea.evolix.org/evolix/ansible-roles.git,${ROLES_VERSION},roles"
ENV ANSIBLE_FORCE_COLOR=1
ENV ANSIBLE_HOST_KEY_CHECKING=false
ENV ANSIBLE_RETRY_FILES_ENABLED=false
ENV PYTHONUNBUFFERED=1
ENTRYPOINT ["ansible-playbook"]