Skip to content

Commit

Permalink
[FAB-14369]Fix dev mode failing to build Chaincode
Browse files Browse the repository at this point in the history
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 <yuki.kondo@hal.hitachi.com>
  • Loading branch information
yuki-kon committed Mar 1, 2019
1 parent ed0f1cc commit 7e3d428
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chaincode-docker-devmode/docker-compose-simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e3d428

Please sign in to comment.