Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM jenkins/ssh-agent:5.12.0-jdk17
- ENV DEBIAN_FRONTEND=noninteractive
- USER root
- RUN apt-get update && apt-get install -y curl git python3 python3-pip unzip ansible
- # Group ID is taken from the group ID set on host.
- RUN groupadd -g <GID_DOCKER_HOST> docker && usermod -aG docker jenkins
- RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install
- RUN curl -fsSL https://get.docker.com/ | sh
- RUN curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement