github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/images/testenv/Dockerfile.in (about)

     1  FROM _NS_/fabric-buildenv:_TAG_
     2  
     3  # fabric configuration locations
     4  ENV FABRIC_CFG_PATH /etc/hyperledger/fabric
     5  
     6  # create needed directories
     7  RUN mkdir -p \
     8    $FABRIC_CFG_PATH \
     9    /var/hyperledger/production
    10  
    11  # fabric configuration files
    12  ADD payload/sampleconfig.tar.bz2 $FABRIC_CFG_PATH
    13  
    14  # fabric binaries
    15  COPY payload/orderer /usr/local/bin
    16  COPY payload/peer /usr/local/bin
    17  
    18  # softhsm2
    19  COPY payload/install-softhsm2.sh /tmp
    20  RUN bash /tmp/install-softhsm2.sh && rm -f install-softhsm2.sh
    21  
    22  # typically, this is mapped to a developer's dev environment
    23  WORKDIR /opt/gopath/src/github.com/hyperledger/fabric