Photo by Abbie Parks on Unsplash

TL;DR how via the Kaniko context, we can git pull Private repositories and build Dockerfile with private git dependencies.
This would be valid for other dependencies like Python private repository dependency or other dependencies alike.

A bit on Kaniko, Kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster.
You can get the motivation for using Kaniko here.

Motivation My motivation for this post came from the fact that there is a lot of documentation on Kaniko, but this use case(Private repository in the Dockerfile) had little to none documentation, and it would…

Yossi Cohn

Software Engineer, Tech Lead, DevOps, Infrastructure @ HiredScore

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store