You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, several image parameters get set by default on a new, empty image, which can only be overridden with Set*(). It would be convenient to be able to set these in the constructor.
os.version - local/remote, for setting compatible Windows kernel version.
architecture - local/remote, to override amd64 default
This should also be considered along with #54 which will need a way to disambiguate manifest lists during FromBaseImage (also os, os.version, architecture, though these fields map to the manifest platform not the image config)
The text was updated successfully, but these errors were encountered:
micahyoung
changed the title
NewImage constructors should allow overriding default OS parameters
NewImage constructors should allow overriding default OS parameters
Oct 15, 2020
micahyoung
changed the title
NewImage constructors should allow overriding default OS parameters
NewImage constructors should allow overriding default image properties
Oct 15, 2020
Right now, several image parameters get set by default on a new, empty image, which can only be overridden with
Set*()
. It would be convenient to be able to set these in the constructor.The most useful constructor parameters for common image config properties would be:
os
- remote only, to overridelinux
defaultos.version
- local/remote, for setting compatible Windows kernel version.architecture
- local/remote, to overrideamd64
defaultThis should also be considered along with #54 which will need a way to disambiguate manifest lists during
FromBaseImage
(alsoos
,os.version
,architecture
, though these fields map to the manifest platform not the image config)The text was updated successfully, but these errors were encountered: