build-support/docker: fix the build of tarsum with Go 1.12

This commit is contained in:
Wael M. Nasreddine 2019-03-05 10:53:21 -08:00
parent 1aa0980e1a
commit 9b22a51712
No known key found for this signature in database
GPG key ID: FD437548E0BF0F5F

View file

@ -77,6 +77,7 @@ rec {
cp ${./tarsum.go} tarsum.go
export GOPATH=$(pwd)
export GOCACHE="$TMPDIR/go-cache"
mkdir -p src/github.com/docker/docker/pkg
ln -sT ${docker.src}/components/engine/pkg/tarsum src/github.com/docker/docker/pkg/tarsum
go build