Sign inSign up

lacalvom/my-jenkins-agent

By lacalvom

•Updated over 3 years ago

Container image created to be used as a Jenkins agent in a Jenkins CI/CD server

Image
0

194

lacalvom/my-jenkins-agent repository overview

⁠my-jenkins-agent

my-jenkins-agent is a container image created to be used as a Jenkins agent on a CI/CD server based on the image: jenkins/ssh-agent:4.13.0-jdk11 which already comes with Java's JDK11 installed, and to which some more tools have been added, necessary for this particular use case .

In this image, Maven, Google Cloud SDK, and Podman have been additionally installed, in order to build container images and publish them.

For building the container image, assuming we run the command in the same directory where the Dockerfile is:

docker build -t my-jenkins-agent:latest .

To run a container and test it:

docker run --rm -it --name myagent my-jenkins-agent:latest bash

For details about container creation check out the Github repository https://github.com/lacalvom/my-jenkins-agent.git⁠

Tag summary

Content type

Image

Digest

sha256:fc05ed28b…

Size

542 MB

Last updated

over 3 years ago

docker pull lacalvom/my-jenkins-agent