Docker image with preconfigured Jenkins master node
- Number of preinstalled plugins (see
plugins.txt
for full list) including experimental Configuration as Code plugin - Custom entrypoint script that automatically creates docker group inside container to allow access to host docker's socket
There is work in progress on Configuration as Code plugin that allows Jenkins to be configured using YAML config file instead of manual configuration using web interface.
This image uses this plugin to automate Jenkins configuration and provides
comprehensive initial config in jenkins.yaml
that could be used as is or as
basis for custom configurations. Default config provides:
- Sane global security settings
- Disabled CLI over Remoting
- Disabled legacy agent protocols
- Enabled agent -> master access control
- Enabled CRSF protection
- Role-based authorization with admin user
- Configured Docker cloud
- Configured GitHub plugin
- Example how to provide credentials
- Different default theme using Simple Theme Plugin
Build image
./build.sh
Run container
docker-compose up