锯齿形供应链应用程序设置失败

问题描述 投票:1回答:1

步骤1/11:FROM hyperledger / sawtooth-shell:nightly ERROR:服务'shell'无法构建:hyperledger / sawtooth-shell的清单:nightly not found

我正在尝试在linux环境中构建供应链应用程序,但构建失败了。

hyperledger blockchain hyperledger-sawtooth
1个回答
0
投票

Hyperledger Sawtooth供应链已针对夜间版本1.2进行了修改,尚未发布。我所做的是恢复到支持当前Sawtooth版本的版本,Sawtooth 1.1:

git clone https://github.com/hyperledger/sawtooth-supply-chain
cd sawtooth-supply-chain
git diff 50c404c >bionic.patch
patch --dry-run -R -p1 <bionic.patch
patch           -R -p1 <bionic.patch
sudo docker-compose up

我见过但尚未尝试的另一个解决方案是一些Dockerfile tweek:


    diff --git a/shell/Dockerfile b/shell/Dockerfile
    index 7ea0caba..b57c2db1 100644
    --- a/shell/Dockerfile
    +++ b/shell/Dockerfile
    @@ -13,10 +13,10 @@
     # limitations under the License.
     # ------------------------------------------------------------------------------

    -FROM hyperledger/sawtooth-shell:nightly
    +FROM hyperledger/sawtooth-shell:bumper-nightly

     # Install Python, Node.js, and Ubuntu dependencies
    -RUN echo "deb http://repo.sawtooth.me/ubuntu/1.0/stable bionic universe" >> /etc/apt/sources.list \
    +RUN echo "deb http://repo.sawtooth.me/ubuntu/1.0/nightly xenial universe" >> /etc/apt/sources.list \
       && (apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 44FC67F19B2466EA \
       || apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 44FC67F19B2466EA) \
       && apt-get update \

You can also ask these questions on the Sawtooth Supply Chain chat channel (free registration with The Linux Foundation):

https://chat.hyperledger.org/channel/sawtooth-supply-chain
© www.soinside.com 2019 - 2024. All rights reserved.