Skip to content

Commit

Permalink
Modified Dockerfile for the SDK sample
Browse files Browse the repository at this point in the history
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 <gari.r.singh@gmail.com>
  • Loading branch information
mastersingh24 committed Oct 8, 2016
1 parent 0e69b6d commit c551e3f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/sdk/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ FROM hyperledger/fabric-peer:latest
# setup the chaincode sample
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02
RUN go build
# build the node SDK
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/sdk/node
RUN make all
# now switch to the sample node app location when the shell is opened in the docker
WORKDIR $GOPATH/src/github.com/hyperledger/fabric/examples/sdk/node
# install the hfc locally for use by the application
RUN npm install $GOPATH/src/github.com/hyperledger/fabric/sdk/node
RUN npm install hfc

0 comments on commit c551e3f

Please sign in to comment.