Customize a Manage Master Docker Image

Issue

  • We need some tools installed on the Docker image that we use for Managed Masters

Environment

  • CloudBees Jenkins Enterprise (CJE)

Resolution

You want to have a new customized Manage Master Docker Image with some additional software installed. In order to do that, you need to create a new Docker image. Your starting point can be any docker file extending from cloudbees/cje-mm Docker image. Once you have chosen the base image you have to create a Dockerfile for it. Please, review the sample below where we install monit, curl ,and htop

FROM cloudbees/cje-mm:2.60.2.1

RUN apt-get update  -y
RUN apt-get install -y monit curl htop

cloudbees/cje-mm:tags

When you have the Dockerfile you can push the image to your Docker registry. Once that you have done it, you could use it as Managed Master. For more details on how to add this images to CJOC , please review the links below.

How to configure last CloudBees Jenkins docker images manually without upgrade

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.