github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docker/sawtooth-shell (about) 1 # Copyright 2018 Cargill Incorporated 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 # docker build -f docker/sawtooth-shell -t sawtooth-shell-local . 16 17 # -------------=== build ===------------- 18 19 FROM ubuntu:xenial 20 21 RUN echo "deb http://repo.sawtooth.me/ubuntu/ci xenial universe" >> /etc/apt/sources.list \ 22 && (apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD \ 23 || apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 8AA7AF1F1091A5FD) \ 24 && apt-get update 25 26 RUN apt-get install -y -q --allow-downgrades \ 27 git \ 28 python3 \ 29 python3-stdeb 30 31 RUN apt-get install -y -q --allow-downgrades \ 32 python3-grpcio \ 33 python3-grpcio-tools \ 34 python3-protobuf 35 36 RUN apt-get install -y -q --allow-downgrades \ 37 python3-cbor \ 38 python3-colorlog \ 39 python3-secp256k1 \ 40 python3-toml \ 41 python3-yaml 42 43 ENV PATH=$PATH:/project/sawtooth-core/bin 44 45 WORKDIR /project/sawtooth-core