moby--moby/api/types
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
..
backend distribution: fix passing platform struct to puller 2018-06-27 14:59:31 -07:00
blkiodev Add canonical import comment 2018-02-05 16:51:57 -05:00
container goimports: fix imports 2019-09-18 12:56:54 +02:00
events Add canonical import comment 2018-02-05 16:51:57 -05:00
filters TestWalkValues: add missing error-check (errcheck) 2019-09-18 12:57:45 +02:00
image Add "import" statement to generated API types 2019-04-10 14:07:55 +02:00
mount mount: add BindOptions.NonRecursive (API v1.40) 2018-11-06 17:51:58 +09:00
network docs follow-ups for networks "dangling" filter 2019-02-28 17:54:31 +01:00
plugins/logdriver Add partial log metadata to log driver proto 2018-08-10 20:44:30 -07:00
registry goimports: fix imports 2019-09-18 12:56:54 +02:00
strslice Format code with gofmt -s from go-1.11beta1 2018-09-06 15:24:16 -07:00
swarm Merge pull request #38441 from sirlatrom/swarm_plugin_env 2019-07-08 15:26:55 -04:00
time Improve GetTimestamp parsing 2018-05-20 13:07:17 +02:00
versions Add canonical import comment 2018-02-05 16:51:57 -05:00
volume Add "import" statement to generated API types 2019-04-10 14:07:55 +02:00
auth.go Add canonical import comment 2018-02-05 16:51:57 -05:00
client.go builder-next: allow outputs configuration 2019-03-19 10:28:30 -07:00
configs.go Move network conversions out of API router 2018-06-27 17:11:29 -07:00
error_response.go
error_response_ext.go Make `ErrorResponse` implement `Error` 2019-07-02 10:17:03 -07:00
graph_driver_data.go Generate GraphDriver from spec, and fix up image spec. 2017-01-03 11:47:47 -05:00
id_response.go
image_delete_response_item.go Generate ImageDeleteResponse from swagger spec. 2017-01-03 11:47:47 -05:00
image_summary.go
plugin.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00
plugin_device.go
plugin_env.go
plugin_interface_type.go
plugin_mount.go
plugin_responses.go Add canonical import comment 2018-02-05 16:51:57 -05:00
port.go Describe IP field of Port definition 2018-05-15 12:09:42 +02:00
seccomp.go seccomp: allow ptrace for 4.8+ kernels 2018-11-04 13:06:43 -08:00
service_update_response.go
stats.go Fix dont typo 2018-09-08 16:58:03 +08:00
types.go Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
volume.go Merge pull request #34186 from thaJeztah/api-update-example-data 2017-07-20 09:38:28 +02:00