1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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 Update to inline comments. 2016-10-31 11:13:41 -04:00
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 Add an IDResponse type 2016-10-31 11:16:02 -04:00
image_delete_response_item.go Generate ImageDeleteResponse from swagger spec. 2017-01-03 11:47:47 -05:00
image_summary.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
plugin.go Move plugin client creation to the extension point 2018-05-25 15:18:53 -04:00
plugin_device.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_env.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_interface_type.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_mount.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
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 Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00
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