Create minimalistic image from scratch and fully controlled
This git repository is inspired by Kubler and keeps
The resulting images are incredibly small in size (e.g. the smallest busybox using alpine had a size of ~4.6MB, while the Gentoo-based busybox image is 2.6MB with room to shrink even further!)
Nevertheless I faced some quirks which made me replace kubler:
This solution is not (yet) implementing all the features of kubler, especially
On the other hand it goes beyond kubler supporting
The process is based on a central image definition structure which includes
An example can be found in the examples folder.
From Gentoo a first builder is created called builder-scratch which is used for images that are build “FROM scratch”. Each further image is then build using the builder of the image it is build FROM.
E.g.
flowchart TD; stage3-->builder-core; builder-core-->builder-scratch; builder-scratch-->base; builder-scratch-->builder-base; builder-base-->go builder-base-->builder-go builder-go-->descheduler builder-go-->builder-descheduler