docker: export GOCACHE for all platforms
This commit is contained in:
parent
9b3da9ef64
commit
eee09b103c
@ -94,13 +94,14 @@ rec {
|
|||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
||||||
buildPhase = (optionalString (stdenv.isLinux) ''
|
buildPhase = ''
|
||||||
|
export GOCACHE="$TMPDIR/go-cache"
|
||||||
|
'' + (optionalString (stdenv.isLinux) ''
|
||||||
# build engine
|
# build engine
|
||||||
cd ./components/engine
|
cd ./components/engine
|
||||||
export AUTO_GOPATH=1
|
export AUTO_GOPATH=1
|
||||||
export DOCKER_GITCOMMIT="${rev}"
|
export DOCKER_GITCOMMIT="${rev}"
|
||||||
export VERSION="${version}"
|
export VERSION="${version}"
|
||||||
export GOCACHE="$TMPDIR/go-cache"
|
|
||||||
./hack/make.sh dynbinary
|
./hack/make.sh dynbinary
|
||||||
cd -
|
cd -
|
||||||
'') + ''
|
'') + ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user