5dbdf8219b57e6ea1b204261fbc861c3257ac421
kaniko-test/pipeline/head Something is wrong with the build of this commit
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
Description
Languages
Dockerfile
100%