I want to build image using base image files behind firewall. I have no experience with kaniko and not found suitable explanation in internet.
For example I can send an image file (i.e. ubuntu + tools) to the secure network behind a firewall but I can not use a proxy since it is not working because of toxic restrictions (for example I can not download security updates to make it secure).
How I can call kaniko to use this base image during building image using Dockerfile - let assume that this files will somewhere on file system - I want for example deploy custom Python application using standard image + my source code and some configuration.
Let assume such simple build (I can write hundred lines but problem is how to specify path to base image in kaniko - no matter). My base image python
will be in secure network visible to kaniko.
FROM python
CMD ['sleep', 'inf']
There are several ways of building containers using Kaniko. But in general you can basically use that same Dockerfile you provided and one example would to run kaniko from the command line like this: