From 7e3d42826926e040e54aa58b129f7f48fdeeac30 Mon Sep 17 00:00:00 2001 From: Yuki Kondo Date: Thu, 28 Feb 2019 02:07:19 +0000 Subject: [PATCH] [FAB-14369]Fix dev mode failing to build Chaincode Building Chaincode fails with the ccenv container created from Alpine because go build process can't import the shim package. GOPATH in ccenv changed from "/opt/gopath" to "/go" due to the move to Alpine. However, docker-compose-simple.yaml still has `GOPATH=/opt/gopath`. This CR removes the environment variable. FAB-14369 #done Change-Id: I18d9861d9b6f45c1548169fbb143e7883f8ba207 Signed-off-by: Yuki Kondo --- chaincode-docker-devmode/docker-compose-simple.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/chaincode-docker-devmode/docker-compose-simple.yaml b/chaincode-docker-devmode/docker-compose-simple.yaml index 0d2ea71e..b5b94e02 100644 --- a/chaincode-docker-devmode/docker-compose-simple.yaml +++ b/chaincode-docker-devmode/docker-compose-simple.yaml @@ -70,7 +70,6 @@ services: image: hyperledger/fabric-ccenv tty: true environment: - - GOPATH=/opt/gopath - CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock - FABRIC_LOGGING_SPEC=DEBUG - CORE_PEER_ID=abstore