woodpecker-ansible-runner/Dockerfile

12 lines
304 B
Docker
Raw Normal View History

FROM python:3.10.2-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
ENV ANSIBLE_VERSION=5.2.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" ]