github.com/inklabsfoundation/inkchain@v0.17.1-0.20181025012015-c3cef8062f19/images/testenv/Dockerfile.in (about)

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