-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://jira.hyperledger.org/browse/FAB-2239 Moving the configuration around caused the orderer docker image to no longer resolve the MSP configuration directory. This CR explicitly sets the MSPDir and ID, and adds them to the config file so that the env variables are effective. Change-Id: I1d5c059125ef028c7f4269ae5c573d51e317a401 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Feb 15, 2017
1 parent
ad986bb
commit cef0aa3
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
FROM hyperledger/fabric-baseos:_BASE_TAG_ | ||
ENV ORDERER_CFG_PATH /etc/hyperledger/fabric | ||
ENV ORDERER_GENERAL_LOCALMSPDIR $ORDERER_CFG_PATH/msp/sampleconfig | ||
RUN mkdir -p /var/hyperledger/production $ORDERER_CFG_PATH | ||
COPY payload/orderer /usr/local/bin | ||
COPY payload/genesis.yaml $ORDERER_CFG_PATH/ | ||
COPY payload/orderer.yaml $ORDERER_CFG_PATH/ | ||
COPY payload/genesis.yaml $ORDERER_CFG_PATH/ | ||
ADD payload/msp-sampleconfig.tar.bz2 $ORDERER_CFG_PATH/ | ||
EXPOSE 7050 | ||
CMD orderer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters