Skip to content

Commit 1d7a097

Browse files
committed
[FAB-3641] Do not use ENV ORDERER* in Dockerfile
This limits an end users options to override the config how they see fit. Instead, we put all defaults into orderer.yaml. Fixes FAB-3641 Change-Id: I3c3caa6c37bb3cbf99f73e6245c1f4b6a1eb96a7 Signed-off-by: Gregory Haskins <[email protected]>
1 parent 2f55f4a commit 1d7a097

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

images/orderer/Dockerfile.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM _BASE_NS_/fabric-baseos:_BASE_TAG_
22
ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
3-
ENV ORDERER_GENERAL_GENESISPROFILE=SampleInsecureSolo
43
RUN mkdir -p /var/hyperledger/production $FABRIC_CFG_PATH
54
COPY payload/orderer /usr/local/bin
65
ADD payload/sampleconfig.tar.bz2 $FABRIC_CFG_PATH/

sampleconfig/orderer.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ General:
4646
# Genesis profile: The profile to use when using the provisional
4747
# GenesisMethod, See the configtx.yaml file for the descriptions of the
4848
# available profiles.
49-
GenesisProfile: SampleSingleMSPSolo
49+
GenesisProfile: SampleInsecureSolo
5050

5151
# Genesis file: The file containing the genesis block. Used by the orderer
5252
# when GenesisMethod is set to "file".

0 commit comments

Comments
 (0)