moby--moby/docs/contributing
Kir Kolyshkin bdcd81d330 go {build,test}: rm -i option, add go cache volume
Looks like -i (together with DOCKER_INCREMENTAL_BINARY etc)
were used to get faster incremental builds.

Nowdays (since Go 1.10) this is no longer the case, as
go build cache is used [1]. Here's a quote:

> You do not have to use "go test -i" or "go build -i" or
> "go install" just to get fast incremental builds. We will
> not have to teach new users those workarounds anymore.
> Everything will just be fast.

To enable go cache between builds, add a volume for /root/.cache.

[1] https://groups.google.com/forum/#!msg/golang-dev/qfa3mHN4ZPA/X2UzjNV1BAAJ

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-09-26 10:10:42 -07:00
..
images
README.md
set-up-dev-env.md go {build,test}: rm -i option, add go cache volume 2018-09-26 10:10:42 -07:00
set-up-git.md
software-req-win.md Updated path to be consistent w/ current Windows build process 2018-06-15 19:02:53 -04:00
software-required.md
test.md Fix typo on test.md 2018-07-08 18:22:21 +09:00
who-written-for.md