moby--moby/builder/dockerfile
John Howard 0380fbff37 LCOW: API: Add platform to /images/create and /build
Signed-off-by: John Howard <jhoward@microsoft.com>

This PR has the API changes described in https://github.com/moby/moby/issues/34617.
Specifically, it adds an HTTP header "X-Requested-Platform" which is a JSON-encoded
OCI Image-spec `Platform` structure.

In addition, it renames (almost all) uses of a string variable platform (and associated)
methods/functions to os. This makes it much clearer to disambiguate with the swarm
"platform" which is really os/arch. This is a stepping stone to getting the daemon towards
fully multi-platform/arch-aware, and makes it clear when "operating system" is being
referred to rather than "platform" which is misleadingly used - sometimes in the swarm
meaning, but more often as just the operating system.
2017-10-06 11:44:18 -07:00
..
command
instructions Improve error message for COPY missing destination 2017-09-25 14:17:18 +02:00
parser LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
buildargs.go Introduce a typed command system and 2 phase parse/dispatch build 2017-09-18 09:48:56 +02:00
buildargs_test.go Spelling fixes 2017-07-03 13:13:09 -07:00
builder.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
builder_test.go Remove pkg/testutil/assert in favor of testify 2017-04-14 12:03:21 -07:00
builder_unix.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
builder_windows.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
clientsession.go Cleaning dead code out of the builder 2017-09-29 02:55:35 +02:00
containerbackend.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
copy.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
copy_test.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
copy_unix.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
copy_windows.go Cleaning dead code out of the builder 2017-09-29 02:55:35 +02:00
dispatchers.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
dispatchers_test.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
dispatchers_unix.go Introduce a typed command system and 2 phase parse/dispatch build 2017-09-18 09:48:56 +02:00
dispatchers_unix_test.go *: normalize the use of normalize 2017-08-22 15:25:31 -07:00
dispatchers_windows.go Introduce a typed command system and 2 phase parse/dispatch build 2017-09-18 09:48:56 +02:00
dispatchers_windows_test.go *: normalize the use of normalize 2017-08-22 15:25:31 -07:00
envVarTest Minor tweaks to quotes in env vars 2017-04-12 12:20:14 -07:00
errors.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
evaluator.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
evaluator_test.go Introduce a typed command system and 2 phase parse/dispatch build 2017-09-18 09:48:56 +02:00
imagecontext.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
imageprobe.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
internals.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
internals_test.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
internals_windows_test.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
metrics.go Add extra prometheus metrics 2017-05-09 01:04:40 -07:00
mockbackend_test.go LCOW: API: Add platform to /images/create and /build 2017-10-06 11:44:18 -07:00
shell_parser.go Create a new ShellLex struct which provides the expected interface to Builder. 2017-04-26 19:39:16 -04:00
shell_parser_test.go Create a new ShellLex struct which provides the expected interface to Builder. 2017-04-26 19:39:16 -04:00
utils_test.go Reimplement integration test for symlink Dockerfile as a unit test 2016-06-14 23:07:19 +02:00
wordsTest Minor tweaks to quotes in env vars 2017-04-12 12:20:14 -07:00