deis/deis — pull request #2062 by gabrtv (2014-10-08 15:41:07+00:00)
Title: ref(builder/registry): have builder push slugrunner in ExecStartPost

Because we have found no way to seed a Docker-in-Docker images at build time, we must seed the builder with a `deis/slug*` on boot. In order to speed initial deploy times, we must also seed the exact layers we create in the builder for `deis/slugrunner` on the registry.

This PR adds a `push-images` script which is called in the builder's `ExecStartPost`. This ensures the registry contains the correct layers each time we start the builder. It also removes registry-seeding for users who do not deploy the builder (since they don't require the slugrunner).

Replaces #2048.