Advertisement
PandaAcademy

Dockerfile

Dec 11th, 2022 (edited)
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. FROM jenkins/ssh-agent:5.12.0-jdk17
  2. ENV DEBIAN_FRONTEND=noninteractive
  3. USER root
  4. RUN apt-get update && apt-get install -y curl git python3 python3-pip unzip ansible
  5. # Group ID is taken from the group ID set on host.
  6. RUN groupadd -g <GID_DOCKER_HOST> docker && usermod -aG docker jenkins
  7. RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install
  8. RUN curl -fsSL https://get.docker.com/ | sh
  9. 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