renovate-bot f5dc0c45e6
kaniko-test/pipeline/pr-main This commit looks good
kaniko-test/pipeline/head This commit looks good
Update docker.io/jenkins/jenkins Docker tag to v2.508
2025-04-30 09:06:41 +00:00
2025-03-12 02:54:21 +00:00
2025-03-10 23:47:21 +00:00
2025-03-11 01:22:10 +00:00
2025-04-14 23:01:04 +00:00
2025-04-29 22:28:02 +00:00

Building my own Jenkins Image including as set of preinstalled plugins

This is mainly built for configuring Jenkins with code but also is built to learn and understand how to build container images in a k8s cluster without docker installed.

We will use "kaniko".

Prerequisites:

  • a private docker registry, in this setup I use my own harbor instance
  • namespace in the k8s cluster where this all will run e.g. "build"
  • a secret for kaniko to log into the registry

The secret:

kubectl create ns build
kubectl create secret docker-registry registry-credentials --docker-username='robot$jenkins' --docker-password=XXXXXXXXXXXXXXXXXXXXXX --docker-email=matthias.hinrichs@me.com  --docker-server='https://harbor.hnrx.net -n build
S
Description
No description provided
Readme 124 KiB
Languages
Dockerfile 100%