build/env/shared-makefile
Brad Fitzpatrick c8d18b7b8d env, buildlet/stage0, xb: build stage0 hermetically, add xb docker support
We used to build the buildlet/stage0 binary once, upload it to GCS,
and then future Docker builds of environments would slurp it down back
off the network (unversioned) and back that copy into its image
forever.

Now the buildlet/stage0 binary gets hermetically built as part of
env/*/Dockerfiles and GCS uploads/downloads aren't involved.

While we're at it, move more docker logic out of Makefiles and into
xb, including things like building dependent images (stage0) and
verifying the versions of dependent layers (e.g. that "golang:1.10" is
Go 1.10.2, and not Go 1.10 or Go 1.10.1).

Change-Id: I2a08d951b9fa8143fb3aee3ec7c2cc78d216962e
Reviewed-on: https://go-review.googlesource.com/113135
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-21 17:49:41 +00:00
..
Makefile env, buildlet/stage0, xb: build stage0 hermetically, add xb docker support 2018-05-21 17:49:41 +00:00