-
Notifications
You must be signed in to change notification settings - Fork 65
[RFC] indicate moby version in yml and image #106
Comments
There were also people who wanted the yaml file in the image - was thinking we could extend eg
or similar |
I would think you would want it as a standard, not subject to someone choosing to add it? |
@deitch not sure about that. We don't know where the user might want it, and they may want a totally minimal image. But we could have a standard location and in by default, with a way to de-select. |
Since people can add arbitrary things to init (including in theory producing non-Linux/non-POSIX/non-FHS based things) there is no universally safe path to stick this stuff in. |
We might not know where they want it, but since it is a new thing, let's set the standard?
Why not? We could check for overrides and error or warn on them |
Have added |
Sally and Jim both work off the same repo, and therefore identical
.yml
file. Both runmoby build <file>
. Outputs could be non-identical because of different moby versions.Do we want to indicate a required or minimum moby tool version in the
.yml
file, similar to how some language packaging frameworks indicate a minimum or absolute language version (e.g.engines
field inpackage.json
).This could get messy with #96 , although to be fair, I think if two
.yml
files specify conflicting moby versions, it should fail.Additionally, it may lead to issues regarding actual versioning.
Finally, it would be nice if we could somehow label the produced images to indicate which moby version was used to build it. There is no standard for adding labels to os images, but even putting it into a file in the build
/etc/moby.build
or similar would be worthwhile.The text was updated successfully, but these errors were encountered: