woodpecker-ansible-runner/Dockerfile

12 lines
304 B
Docker
Raw Normal View History

2021-12-15 16:07:34 +01:00
FROM python:3.10.1-slim
2021-12-15 00:21:52 +01:00
2021-12-15 16:34:59 +01:00
RUN apt-get update && apt-get install -y git \
&& rm -rf /var/lib/apt/lists/*
2021-12-15 00:21:52 +01:00
# renovate: datasource=pypi depName=ansible
2021-12-15 18:56:40 +01:00
ENV ANSIBLE_VERSION=5.0.0
2021-12-15 00:21:52 +01:00
RUN pip3 install --no-cache-dir ansible==${ANSIBLE_VERSION}
COPY entrypoint /bin/entrypoint
ENTRYPOINT [ "/bin/entrypoint" ]