moby/daemon/images
Chris Price c21a3cf432 Add variant to image.Image and legacy builder
This commit adds the image variant to the image.(Image) type and
updates related functionality. Images built from another will
inherit the OS, architecture and variant.

Note that if a base image does not specify an architecture, the
local machine's architecture is used for inherited images. On the
other hand, the variant is set equal to the parent image's variant,
even when the parent image's variant is unset.

The legacy builder is also updated to allow the user to specify
a '--platform' argument on the command line when creating an image
FROM scratch. A complete platform specification, including variant,
is supported. The built image will include the variant, as will any
derived images.

Signed-off-by: Chris Price <chris.price@docker.com>
2019-09-24 22:18:16 +00:00
..
cache.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image.go Remove unnecessary GetImageIDAndOS use GetImage 2018-02-26 16:49:37 -05:00
image_builder.go LCOW: Fix FROM scratch 2019-05-14 15:55:59 -07:00
image_commit.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image_delete.go fix docker rmi stucking 2019-08-19 18:28:37 +08:00
image_events.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image_exporter.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image_history.go Builder: Fix CI issues 2018-03-19 14:29:36 -07:00
image_import.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image_inspect.go Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
image_prune.go goimports: fix imports 2019-09-18 12:56:54 +02:00
image_pull.go goimports: fix imports 2019-09-18 12:56:54 +02:00
image_push.go Revert "Remove the rest of v1 manifest support" 2019-06-18 00:36:01 +00:00
image_search.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
image_search_test.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
image_tag.go Remove unnecessary GetImageIDAndOS use GetImage 2018-02-26 16:49:37 -05:00
image_unix.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
image_windows.go Move ImageService to new package 2018-02-26 16:49:37 -05:00
images.go cli: fix images filter when use multi reference filter 2018-11-22 10:33:45 +08:00
locals.go goimports: fix imports 2019-09-18 12:56:54 +02:00
service.go Adding ability to change max download attempts 2019-09-19 13:51:40 +02:00