docker: Preserve the go build cache

Otherwise, every `make docker-...` invocation will need to rebuild
everything from scratch.
This commit is contained in:
Ryan Gonzalez
2025-09-19 16:02:13 -05:00
parent ddf415a359
commit 568a9ce4d5
+1 -1
View File
@@ -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