mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +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:
@@ -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