summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cyberark/conjur/tests/unit/Dockerfile
blob: 677862d9608392c3eed94db1cc6db5a264bdf788 (plain)
1
2
3
4
5
6
7
8
9
10
11
ARG PYTHON_VERSION
FROM python:${PYTHON_VERSION}-slim

RUN apt-get update && \
    apt-get install -y git

ARG ANSIBLE_VERSION
RUN pip install https://github.com/ansible/ansible/archive/${ANSIBLE_VERSION}.tar.gz --disable-pip-version-check

COPY tests/unit/requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt