From fb6f59ba9473f44da47ecc5b7afe83e91b42d433 Mon Sep 17 00:00:00 2001 From: Gregory Haskins Date: Mon, 19 Sep 2016 18:04:07 -0400 Subject: [PATCH] Remove defunct peer.Dockerfile from *test.yaml This doesn't seem to be used any more, and we want to prepare for cleaning up references to baseimage later in the series. Change-Id: If68586b8b30c2d81a27be37cfd7d002300403d79 Signed-off-by: Gregory Haskins --- core/chaincode/chaincodetest.yaml | 9 --------- core/ledger/genesis/genesis_test.yaml | 8 -------- 2 files changed, 17 deletions(-) diff --git a/core/chaincode/chaincodetest.yaml b/core/chaincode/chaincodetest.yaml index 63b7983de97..95c2a9eadde 100644 --- a/core/chaincode/chaincodetest.yaml +++ b/core/chaincode/chaincodetest.yaml @@ -165,15 +165,6 @@ peer: # networkId: test networkId: dev - Dockerfile: | - from hyperledger/fabric-baseimage:latest - # Copy GOPATH src and install Peer - COPY src $GOPATH/src - RUN mkdir -p /var/hyperledger/db - WORKDIR $GOPATH/src/github.com/hyperledger/fabric/peer/ - RUN CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" go install && cp $GOPATH/src/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin - - # The Address this Peer will listen on listenAddress: 0.0.0.0:21212 # The Address this Peer will bind to for providing services diff --git a/core/ledger/genesis/genesis_test.yaml b/core/ledger/genesis/genesis_test.yaml index 7a1010a7680..e87623e6bda 100644 --- a/core/ledger/genesis/genesis_test.yaml +++ b/core/ledger/genesis/genesis_test.yaml @@ -45,14 +45,6 @@ peer: # networkId: test networkId: dev - Dockerfile: | - from hyperledger/fabric-baseimage - # Copy GOPATH src and install Peer - COPY src $GOPATH/src - RUN mkdir -p /var/hyperledger/db - WORKDIR $GOPATH/src/github.com/hyperledger/fabric/peer/ - RUN CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" go install && cp $GOPATH/src/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin - # The Address this Peer will bind to for providing services address: 0.0.0.0:7051 # Whether the Peer should programmatically determine the address to bind to. This case is useful for docker containers.