moby/docs
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
..
api fix: fix lack of copyUIDGID in swagger.yaml 2019-06-07 14:38:39 +02:00
contributing go {build,test}: rm -i option, add go cache volume 2019-06-18 17:53:03 +01:00
static_files Remove Docker logo 2017-10-11 13:17:59 +01:00