-
Notifications
You must be signed in to change notification settings - Fork 652
Inherit system images and share them between examples #824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can already use Does this satisfy your requirement? |
It is not a requirement, it was more of a feature that could be used in docker or k8s or similar. Like how the nerdctl archives are predefined, and you only need to say "true" or "false" |
Not sure what the best yaml engineering would be, just that it looks a bit redundant at the moment. examples/buildkit.yaml: digest: "sha256:de5e632e17b8965f2baf4ea6d2b824788e154d9a65df4fd419ec4019898e15cd" |
Closed as duplicate of #2418, which has an implementation of the yaml engineering
|
Description
For instance Vagrant had this concept of boxes, where you would hide complexity under a name.
https://www.vagrantup.com/docs/boxes
It has the same problems of central control and what not as the yaml files themselves do, though.
https://app.vagrantup.com/ubuntu/boxes/focal64
Side note: it was only for VirtualBox, the others were https://app.vagrantup.com/generic/boxes/ubuntu2004
But it doesn't matter for this discussion, it was supposed to just reference the official Ubuntu cloud image...
But the idea of reducing the OS definition to a single line, would still be a useful concept ?
Instead of:
One would just say "ubuntu-22.04-20220420" (or something).
This would be "fedora-35-1.2", and similar lookups for the rest.
Currently it is all copy/paste, between the different examples.
The text was updated successfully, but these errors were encountered: