Files
myfileagent-pipeline/secure-delivery/agent/Dockerfile
T

7 lines
513 B
Docker

FROM jenkins/inbound-agent@sha256:5069347cd3e72e5924e54c04fceb67209b41c8d0a3ab1c2b3f740e5fb2fab92a
USER root
RUN apt-get update && apt-get install -y --no-install-recommends python3 python3-venv docker-cli openssh-client && rm -rf /var/lib/apt/lists/*
RUN python3 -m venv /opt/ansible && /opt/ansible/bin/pip install --no-cache-dir ansible-core==2.22.0 && /opt/ansible/bin/ansible-galaxy collection install -p /usr/share/ansible/collections community.docker:5.0.4
ENV PATH="/opt/ansible/bin:${PATH}"
USER jenkins