mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +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:
committed by
André Roth
parent
514e386502
commit
72f2ba3b1d
@@ -15,4 +15,4 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd /work/src
|
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