Merge pull request #37877 from srhb/tarsum-import

dockerTools.tarsum: Fix upstream import
This commit is contained in:
Sarah Brofeldt 2018-03-26 19:18:39 +02:00 committed by GitHub
commit 63a8d8c9e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -44,8 +44,8 @@ rec {
cp ${./tarsum.go} tarsum.go
export GOPATH=$(pwd)
mkdir src
ln -sT ${docker.src}/components/engine/pkg/tarsum src/tarsum
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
cp tarsum $out

View file

@ -5,7 +5,7 @@ import (
"io"
"io/ioutil"
"os"
"tarsum"
"github.com/docker/docker/pkg/tarsum"
)
func main() {