- This image
- Is based on Jenkins LTS
- Is packed with:
- plugins.txt
- docker
- docker- compose
- First, install desired plugin using Jenkins UI
- Jenkins home > Manage Jenkins > Manage Plugins > Available, search and in
- Second, update plugin list used to build jenkins custom image (if this step is skipped, next time when the build env gets build the plugin will be missing)
- Retrieve plugin list, execute script list_plugins.groovy in jenkins
- Copy above script output (minus last line, the one starting with
Result: [), and update plugins.txt
- First, update plugins in Jenkins
- Jenkins home > Manage Jenkins > Manage Plugins
- Second, update plugin list used to build jenkins custom image (if this step is skipped, next time when the build env gets build the plugin will be missing)
- Retrieve plugin list, execute script list_plugins.groovy in jenkins
- Copy above script output (minus last line, the one starting with
Result: [), and update plugins.txt
- Set base image to latest/desired Jenkins LTS version
- Set
DOCKER_VERSION(Dockerfile) to latest/desired docker version
- Set
DOCKER_COMPOSE_VERSION(Dockerfile) to latest/desired Docker Compose version
- Me on docker hub
- The build makes use of post push hook
- Reference