diff --git a/images/orderer/Dockerfile b/images/orderer/Dockerfile index 77b3e36623c..0ed200428b6 100644 --- a/images/orderer/Dockerfile +++ b/images/orderer/Dockerfile @@ -57,7 +57,7 @@ ARG FABRIC_VER # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN echo 'hosts: files dns' > /etc/nsswitch.conf -ENV FABRIC_CFG_PATH /var/hyperledger/fabric/config +ENV FABRIC_CFG_PATH /etc/hyperledger/fabric ENV FABRIC_VER ${FABRIC_VER} COPY --from=builder build/bin/orderer /usr/local/bin diff --git a/images/peer/Dockerfile b/images/peer/Dockerfile index 3a476e70a92..a6a753869d4 100644 --- a/images/peer/Dockerfile +++ b/images/peer/Dockerfile @@ -60,7 +60,7 @@ ARG FABRIC_VER # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN echo 'hosts: files dns' > /etc/nsswitch.conf -ENV FABRIC_CFG_PATH /var/hyperledger/fabric/config +ENV FABRIC_CFG_PATH /etc/hyperledger/fabric ENV FABRIC_VER ${FABRIC_VER} COPY --from=builder build/bin/peer /usr/local/bin diff --git a/images/tools/Dockerfile b/images/tools/Dockerfile index 8afa0352cff..c84477d7dd3 100644 --- a/images/tools/Dockerfile +++ b/images/tools/Dockerfile @@ -69,7 +69,7 @@ ENV PATH="/usr/local/go/bin:$PATH" # - docker run --rm debian:stretch grep '^hosts:' /etc/nsswitch.conf RUN echo 'hosts: files dns' > /etc/nsswitch.conf -ENV FABRIC_CFG_PATH /var/hyperledger/fabric/config +ENV FABRIC_CFG_PATH /etc/hyperledger/fabric ENV FABRIC_VER ${FABRIC_VER} COPY --from=builder sampleconfig ${FABRIC_CFG_PATH}