moby/runconfig
Madhav Puri 54240f8da9 Support for passing build-time variables in build context
- The build-time variables are passed as environment-context for command(s)
run as part of the RUN primitve. These variables are not persisted in environment of
intermediate and final images when passed as context for RUN. The build environment
is prepended to the intermediate continer's command string for aiding cache lookups.
It also helps with build traceability. But this also makes the feature less secure from
point of view of passing build time secrets.

- The build-time variables also get used to expand the symbols used in certain
Dockerfile primitves like ADD, COPY, USER etc, without an explicit prior definiton using a
ENV primitive. These variables get persisted in the intermediate and final images
whenever they are expanded.

- The build-time variables are only expanded or passed to the RUN primtive if they
are defined in Dockerfile using the ARG primitive or belong to list of built-in variables.
HTTP_PROXY, HTTPS_PROXY, http_proxy, https_proxy, FTP_PROXY and NO_PROXY are built-in
variables that needn't be explicitly defined in Dockerfile to use this feature.

Signed-off-by: Madhav Puri <madhav.puri@gmail.com>
2015-09-16 03:31:15 -07:00
..
fixtures Add support for DNS options 2015-09-16 14:06:45 -07:00
compare.go Remove PortSpecs from Config 2015-05-29 22:38:09 +02:00
compare_test.go abstract the string slice struct to stringutils package 2015-08-29 01:08:40 +08:00
config.go Signal to stop a container. 2015-09-10 19:56:05 -04:00
config_test.go abstract the string slice struct to stringutils package 2015-08-29 01:08:40 +08:00
config_unix.go Move VolumeDriver to HostConfig to make containers portable. 2015-09-04 12:42:44 -04:00
config_windows.go Move netmode validation to server 2015-08-14 12:17:41 -07:00
exec.go Revert "Revert "Add docker exec run a command in privileged mode"" 2015-08-13 16:36:44 +10:00
exec_test.go Add minor vet fixes 2015-07-12 19:16:38 +02:00
hostconfig.go Add support for DNS options 2015-09-16 14:06:45 -07:00
hostconfig_test.go Use StrSlice from pkg/stringutils 2015-09-01 21:23:46 +02:00
hostconfig_unix.go Move netmode validation to server 2015-08-14 12:17:41 -07:00
hostconfig_windows.go Move netmode validation to server 2015-08-14 12:17:41 -07:00
merge.go Lint fixes on runconfig 2015-07-27 21:23:15 +02:00
merge_test.go Remove panic in nat package on invalid hostport 2015-07-17 13:02:54 -07:00
parse.go Support for passing build-time variables in build context 2015-09-16 03:31:15 -07:00
parse_experimental.go Promote volume drivers from experimental to master. 2015-07-21 09:32:44 -07:00
parse_stub.go Mark --volume-driver as experimental 2015-05-21 20:34:17 -07:00
parse_test.go abstract the string slice struct to stringutils package 2015-08-29 01:08:40 +08:00
parse_unix.go Move netmode validation to server 2015-08-14 12:17:41 -07:00
parse_windows.go Move netmode validation to server 2015-08-14 12:17:41 -07:00