x86_64-ansible-runner/Dockerfile

18 lines
522 B
Docker

FROM quay.io/ansible/ansible-runner:stable-2.9-devel
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt && \
dnf install -y mariadb wget && \
curl -L https://get.helm.sh/helm-v3.5.3-linux-amd64.tar.gz -o /tmp/helm.tgz && \
tar -zxvf /tmp/helm.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \
ln -s /usr/bin/python3 /usr/bin/python
VOLUME /runner
WORKDIR /runner
ENV HOME=/home/runner
ENTRYPOINT ["entrypoint"]
CMD ["ansible-runner", "run", "/runner"]