655301f8a7bcc974e20fd884a109d139714dea27
Changes the default when incremental build is enabled to use named volumes instead of bindmounts. The reason for this is, on Mac/Windows the bind mounts will go over the shared fs, which is incredibly slow and itself uses lots of CPU. Makes an incremental build on OSX go from ~40s to 10s. To get the old behavior, can set `PKGCACHE_DIR=.go-pkg-cache` Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: c9623d1b7619dfffe01fa47b4338637945c1a53f Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%