1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile
Anusha Ragunathan 14215ed5a1 Make daemonbuilder.Docker leaner.
Currently builder.Backend is implemented by daemonbuilder.Docker{} for
the daemon. This registration happens in the API/server code. However,
this is too implementation specific. Ideally we should be able to specify
that docker daemon (or any other) is implementing the Backend and abstract
the implementation details. So we should remove package daemonbuilder
dependency in build_routes.go

With this change, daemonbuilder.Docker is nothing more than the daemon.
A follow on change will remove the daemonbuilder package and move relevant
methods under daemon, so that API only knows about the backend.

Also cleanup code in api/client/build.go. docker cli always performs build
context tar download for remoteURLs and sends an empty remoteContext. So
remove relevant dead code.

Signed-off-by: Anusha Ragunathan <anusha@docker.com>
2016-01-18 09:16:11 -08:00
..
command Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
parser Fix typos found across repository 2015-12-13 18:04:12 +02:00
bflag.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
bflag_test.go Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
builder.go Make daemonbuilder.Docker leaner. 2016-01-18 09:16:11 -08:00
dispatchers.go Make daemonbuilder.Docker leaner. 2016-01-18 09:16:11 -08:00
envVarTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
evaluator.go Use ImageBuildOptions in builder. 2016-01-05 10:09:34 -08:00
internals.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
internals_unix.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
internals_windows.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
shell_parser.go Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
shell_parser_test.go Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00
support.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
wordsTest Allow for env vars to have spaces in some cases 2015-11-09 12:42:56 -08:00