Skip to content

Commit c551e3f

Browse files
committed
Modified Dockerfile for the SDK sample
Prior to this change the Dockerfile installed hfc from source. With this change the published version of hfc will be installed Fixes FAB-541 Change-Id: Ic1461975abecdf9bdf387700a179510ec0add019 Signed-off-by: Gari Singh <[email protected]>
1 parent 0e69b6d commit c551e3f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

examples/sdk/node/Dockerfile

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ FROM hyperledger/fabric-peer:latest
22
# setup the chaincode sample
33
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02
44
RUN go build
5-
# build the node SDK
6-
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/sdk/node
7-
RUN make all
8-
# now switch to the sample node app location when the shell is opened in the docker
95
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/sdk/node
106
# install the hfc locally for use by the application
11-
RUN npm install $GOPATH/src/github.com/hyperledger/fabric/sdk/node
7+
RUN npm install hfc

0 commit comments

Comments
 (0)