Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docker pull ccenv #752

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
TOP = ../../../..
include $(TOP)/build.mk

FABRIC_LOGGING_SPEC?="fpc=debug:endorser,grpc,comm.grpc,gossip=error:info"

build:
go build -o tstn

images:
$(DOCKER) pull hyperledger/fabric-ccenv:2.5
$(DOCKER) image tag hyperledger/fabric-ccenv:2.5 hyperledger/fabric-ccenv:latest
$(DOCKER) pull hyperledger/explorer:latest
$(DOCKER) pull hyperledger/explorer-db:latest

clean:
rm -rf testdata

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,14 @@ make -C $CC_PATH build docker
export FPC_CHAINCODE_IMAGE=fpc/kv-test-go
```

To run the Fabric network we need the Fabric binaries.
To run the Fabric network we need the Fabric binaries. Additionally, we want to use the Hyperledger blockchain explorer to visualize the network activity so we need to get the docker images.
We will use the following:
```bash
make images
make -C $FPC_PATH/fabric
export FAB_BINS=$FPC_PATH/fabric/_internal/bin
```

Additionally, we want to use the Hyperledger blockchain explorer to visualize the network activity.
Get the following docker images:
```bash
docker pull hyperledger/explorer:latest
docker pull hyperledger/explorer-db:latest
```

## Run the network

```bash
Expand Down