mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
docker: Preserve the go build cache
Otherwise, every `make docker-...` invocation will need to rebuild everything from scratch.
This commit is contained in:
1 parent
514e386502
commit
72f2ba3b1d
1 file changed
+1
-1
@@ -15,4 +15,4 @@ else
|
||||
fi
|
||||
|
||||
cd /work/src
|
||||
sudo -u aptly PATH=$PATH:/work/src/build GOPATH=/work/src/.go $cmd
|
||||
sudo -u aptly PATH=$PATH:/work/src/build GOPATH=/work/src/.go GOCACHE=/work/src/.go/cache $cmd
|
||||
Reference in new issue
Block a user