From a9ae6e766dc1ff7a506d3157fa3939895a162882 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Mon, 12 Dec 2016 15:35:25 +0800 Subject: [PATCH] Upgrade golang 1.6 to 1.7 in chaincode examples Fix #FAB-1368. Change-Id: Iffb824f8caa3234fba8de45066160e715ac568bc Signed-off-by: Baohua Yang --- examples/chaincode/go/asset_management02/asset.yaml | 4 ++-- examples/chaincode/go/asset_management_with_roles/asset.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/chaincode/go/asset_management02/asset.yaml b/examples/chaincode/go/asset_management02/asset.yaml index d1b353a1d12..809ad8e3d85 100755 --- a/examples/chaincode/go/asset_management02/asset.yaml +++ b/examples/chaincode/go/asset_management02/asset.yaml @@ -195,7 +195,7 @@ peer: networkId: dev Dockerfile: | - from golang:1.6 + from golang:1.7 # Install RocksDB RUN cd /opt && git clone --branch v4.1 --single-branch --depth 1 https://github.com/facebook/rocksdb.git && cd rocksdb WORKDIR /opt/rocksdb @@ -392,7 +392,7 @@ chaincode: # This is the basis for the Golang Dockerfile. Additional commands will # be appended depedendent upon the chaincode specification. Dockerfile: | - from golang:1.6 + from golang:1.7 COPY src $GOPATH/src WORKDIR $GOPATH diff --git a/examples/chaincode/go/asset_management_with_roles/asset.yaml b/examples/chaincode/go/asset_management_with_roles/asset.yaml index be81de51a65..5491af6f6c5 100644 --- a/examples/chaincode/go/asset_management_with_roles/asset.yaml +++ b/examples/chaincode/go/asset_management_with_roles/asset.yaml @@ -173,7 +173,7 @@ peer: networkId: dev Dockerfile: | - from golang:1.6 + from golang:1.7 # Install RocksDB RUN cd /opt && git clone --branch v4.1 --single-branch --depth 1 https://github.com/facebook/rocksdb.git && cd rocksdb WORKDIR /opt/rocksdb @@ -367,7 +367,7 @@ chaincode: # This is the basis for the Golang Dockerfile. Additional commands will # be appended depedendent upon the chaincode specification. Dockerfile: | - from golang:1.6 + from golang:1.7 COPY src $GOPATH/src WORKDIR $GOPATH