cloud-bigdata-book
cloud-bigdata-book copied to clipboard
区块链
fabric 编译报错处理
Step 12/12 : RUN chmod a+rw -R /opt/gopath
---> Running in d486d902f24b
---> 0705672ca98d
Removing intermediate container d486d902f24b
Successfully built 0705672ca98d
Successfully tagged hyperledger/fabric-baseimage:latest
Building docker src-image
docker build -t hyperledger/fabric-src:latest build/image/src
Sending build context to Docker daemon 20.43MB
Step 1/2 : FROM hyperledger/fabric-baseimage:latest
---> 0705672ca98d
Step 2/2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric
Error processing tar file(bzip2 data invalid: bad magic value in continuation file):
make: *** [build/image/src/.dummy] Error 1
➜ fabric git:(v0.5-developer-preview) brew install gnu-tar --with-default-names
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).
Warning: gnu-tar 1.29_1 is already installed