From 4c22272753ec6b840beb285e5774bb70402bca40 Mon Sep 17 00:00:00 2001 From: lquintai <54178486+lquintai@users.noreply.github.com> Date: Mon, 9 Nov 2020 09:19:53 +0000 Subject: [PATCH] Update faric images (#67) Signed-off-by: Leonor Quintais --- Dockerfile | 4 ++-- azure-pipelines.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e4e34de..ac58370 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,8 @@ RUN curl -sSL -o /tmp/gradle.zip https://services.gradle.org/distributions/gradl ENV PATH=/opt/gradle/bin:/opt/maven/bin:${PATH} ADD builders/java/pom.xml /opt/fabric-chaincode-java/ RUN mkdir -p /opt/fabric \ - && curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.2.0/hyperledger-fabric-linux-amd64-2.2.0.tar.gz | tar xzf - -C /opt/fabric \ - && curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.4.8/hyperledger-fabric-ca-linux-amd64-1.4.8.tar.gz | tar xzf - -C /opt/fabric \ + && curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.2.1/hyperledger-fabric-linux-amd64-2.2.1.tar.gz | tar xzf - -C /opt/fabric \ + && curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.4.9/hyperledger-fabric-ca-linux-amd64-1.4.9.tar.gz | tar xzf - -C /opt/fabric \ && cd /opt/fabric-chaincode-java \ && mvn -q dependency:copy-dependencies -DoutputDirectory=/opt/fabric-chaincode-java/lib \ && npm install --unsafe-perm -g fabric-shim@2.2.0 \ diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4b7fc4d..7e6eac4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,8 +41,8 @@ steps: - script: | set -euo pipefail sudo mkdir -p /opt/fabric - curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.2.0/hyperledger-fabric-linux-amd64-2.2.0.tar.gz | sudo tar xzf - -C /opt/fabric - curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.4.8/hyperledger-fabric-ca-linux-amd64-1.4.8.tar.gz | sudo tar xzf - -C /opt/fabric + curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.2.1/hyperledger-fabric-linux-amd64-2.2.1.tar.gz | sudo tar xzf - -C /opt/fabric + curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.4.9/hyperledger-fabric-ca-linux-amd64-1.4.9.tar.gz | sudo tar xzf - -C /opt/fabric cd builders/java sudo mvn -q dependency:copy-dependencies -DoutputDirectory=/opt/fabric-chaincode-java/lib npm install -g fabric-shim@2.2.0