|
|
|
|
|
by gigel82
26 days ago
|
|
I don't understand what this does. How can it "build" anything without a VM capable of running actual code? Is "build" being used here in the sense of assembling pre-existing layers into an image? What would be the purpose of that? |
|
In a more real scenario, you can e.g., turn pip wheels into layers without actually using docker's RUN command. All it takes is to massage the data from one archive format into another, programmatically. This unlocks lots of potential (e.g., it becomes embarrassingly parallel to build a container image comprised of pip wheels). Combine that with a good layer caching strategy and a registry that takes advantage of it, and you can have near-instant container builds for arbitrary sets of pip dependencies.