moby--moby/integration-cli
Josh Hawn 8936789919 Make `FROM scratch` a special cased 'no-base' spec
There has been a lot of discussion (issues 4242 and 5262) about making
`FROM scratch` either a special case or making `FROM` optional, implying
starting from an empty file system.

This patch makes the build command `FROM scratch` special cased from now on
and if used does not pull/set the the initial layer of the build to the ancient
image ID (511136ea..) but instead marks the build as having no base image. The
next command in the dockerfile will create an image with a parent image ID of "".
This means every image ever can now use one fewer layer!

This also makes the image name `scratch` a reserved name by the TagStore. You
will not be able to tag an image with this name from now on. If any users
currently have an image tagged as `scratch`, they will still be able to use that
image, but will not be able to tag a new image with that name.

Goodbye '511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158',
it was nice knowing you.

Fixes #4242

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2014-12-18 14:03:38 -08:00
..
MAINTAINERS
docker_api_containers_test.go Fix volumes-from/bind-mounts passed in on start 2014-12-15 16:51:15 -05:00
docker_api_exec_test.go Check for no `Cmd` on exec create endpoint 2014-12-01 17:54:15 -05:00
docker_api_inspect_test.go Check for no `Cmd` on exec create endpoint 2014-12-01 17:54:15 -05:00
docker_api_resize_test.go Check for no `Cmd` on exec create endpoint 2014-12-01 17:54:15 -05:00
docker_cli_attach_test.go Fix vet errors about formatting directives 2014-12-12 10:58:56 -08:00
docker_cli_build_test.go Allow for relative paths on ADD/COPY 2014-12-18 05:13:04 -08:00
docker_cli_commit_test.go Make sure integration-cli test clean up 2014-11-19 23:41:46 +02:00
docker_cli_cp_test.go Run 'go vet' on integration-cli. 2014-12-03 18:45:51 -08:00
docker_cli_create_test.go Fix tests with old cmd function. 2014-12-03 15:53:19 -08:00
docker_cli_daemon_test.go Merge pull request #9181 from icecrime/allocate_daemon_ports 2014-12-17 18:01:20 -08:00
docker_cli_diff_test.go
docker_cli_events_test.go Make `FROM scratch` a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
docker_cli_exec_test.go Fix vet errors about formatting directives 2014-12-12 10:58:56 -08:00
docker_cli_export_import_test.go
docker_cli_history_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_images_test.go Fix for #8777 2014-11-20 13:36:46 +09:00
docker_cli_import_test.go Make sure integration-cli test clean up 2014-11-19 23:41:46 +02:00
docker_cli_info_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_inspect_test.go Make `FROM scratch` a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
docker_cli_kill_test.go
docker_cli_links_test.go Running a container that links to a container with --net host 2014-12-08 11:33:18 -08:00
docker_cli_login_test.go Suppress output of TestLoginWithoutTTY 2014-12-11 18:05:07 -08:00
docker_cli_logs_test.go Fix panic on slow log consumer. 2014-10-30 22:24:57 +02:00
docker_cli_nat_test.go Fix misuses of format based logging functions 2014-11-19 23:59:02 +02:00
docker_cli_port_test.go
docker_cli_ps_test.go Fix deadlock in ps exited filter 2014-11-03 10:51:03 -08:00
docker_cli_pull_test.go Make `FROM scratch` a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
docker_cli_push_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_restart_test.go
docker_cli_rm_test.go Make sure integration-cli test clean up 2014-11-19 23:41:46 +02:00
docker_cli_rmi_test.go Remove unnecessary abstraction nLines 2014-12-03 17:47:28 -08:00
docker_cli_run_test.go Merge pull request #9643 from LK4D4/fix_vet_errors 2014-12-16 12:04:15 -08:00
docker_cli_save_load_test.go Make `FROM scratch` a special cased 'no-base' spec 2014-12-18 14:03:38 -08:00
docker_cli_search_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_cli_start_test.go Fixes race condition in test. Closes #9389. 2014-11-28 13:48:50 -05:00
docker_cli_tag_test.go Merge pull request #8511 from coolljt0725/fix_tag 2014-10-20 14:32:23 -07:00
docker_cli_top_test.go
docker_cli_version_test.go Fix vet errors 2014-11-05 08:26:22 -08:00
docker_test_vars.go Break some routines out of the mutable files test for future use 2014-11-25 16:46:09 -08:00
docker_utils.go Merge pull request #9356 from cc272309126/fix-exec-paused-container 2014-12-09 11:01:44 -08:00
utils.go Remove unnessary abstraction deepEqual 2014-12-03 17:52:06 -08:00