File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ brooklyn.catalog:
119119 brooklyn.config:
120120 is.leader.node: true
121121 launch.latch: $brooklyn:component("my-hyperledger-orderer-node").attributeWhenReady("service.isUp")
122+ post.launch.command: |
123+ sudo docker pull hyperledger/fabric-ccenv:x86_64-1.0.0-alpha2
122124
123125 memberSpec:
124126 $brooklyn:entitySpec:
@@ -223,9 +225,14 @@ brooklyn.catalog:
223225 -e CORE_PEER_GOSSIP_SKIPHANDSHAKE=true \
224226 -e CORE_PEER_ID=cli \
225227 -e CORE_PEER_ADDRESS=$PEER_ADDRESS:7051 \
228+ -e GOPATH=/opt/golang \
226229 -p 7050-7059:7050-7059 \
227230 hyperledger/fabric-peer:x86_64-1.0.0-alpha2 bash -c 'while true; do sleep 20170504; done'
228231
232+ post.launch.command: |
233+ sudo docker exec fabric-cli bash -c \
234+ 'apt-get -y update && apt-get -y install golang git && mkdir /opt/golang'
235+
229236 checkRunning.command: |
230237 STATUS=$(sudo docker inspect -f {{.State.Running}} fabric-cli)
231238 sudo service docker status && [ "${STATUS}" = "true" ]
You can’t perform that action at this time.
0 commit comments