Lesson 6.1: Docker Build Pipeline with Kaniko
This lesson will teach you to use the Jenkins pipeline to build and Dockerize Java applications using Kaniko inside a pod agent.
We will be using two open-source tools in this lesson, one is Maven which builds your Java application.
The other tool is Kaniko, which is an open-source container image-building tool created by Google.
It does not require privileged access to the host to build container images.
Here is how Kaniko works,