moby/docs/contributing
Kir Kolyshkin 0f190f798f
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>
(cherry picked from commit bdcd81d330)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-06-18 17:53:03 +01:00
..
images First pass updating CONTRIBUTING 2017-11-03 11:54:55 +00:00
README.md First pass updating CONTRIBUTING 2017-11-03 11:54:55 +00:00
set-up-dev-env.md go {build,test}: rm -i option, add go cache volume 2019-06-18 17:53:03 +01:00
set-up-git.md First pass updating CONTRIBUTING 2017-11-03 11:54:55 +00:00
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 First pass updating CONTRIBUTING 2017-11-03 11:54:55 +00:00
test.md Fix typo on test.md 2018-07-08 18:22:21 +09:00
who-written-for.md First pass updating CONTRIBUTING 2017-11-03 11:54:55 +00:00