Closed zzinny closed 5 years ago
Why are you building hyperleder/fabric-javaenv
?
Our project uses Golang chaincode for which you only need to build the hyperledger/fabric-ccenv
image; this should be built by make docker
.
(Regarding the error, I would guess it has something to do with MAVEN_VERSION
not being defined in Step 7.)
I would recommend bypassing this particular image build regardless of whether you can fix the error.
I just make docker
at hyperledger/fabric
. How can I build hyperledger/fabric-ccenv
not javaenv?
Replace lines 255 and 256 in hyperledger/fabric/Makefile
with the following and retry make docker
:
build/bin/peer: build/image/ccenv/$(DUMMY)
build/image/peer/$(DUMMY): build/image/ccenv/$(DUMMY)
Thanks!
I got an error while making docker image. (fabric v1.1)
Error log:
I tried the solution of issue #61 and confirmed that tar command executes gnu-tar by
tar --version
.But the error still occurs. Why?