From 9d1eb5baabbeb7b4d21b1346179d1c740ccd1b59 Mon Sep 17 00:00:00 2001 From: Tatsuya Sato Date: Thu, 11 Apr 2024 03:58:03 +0000 Subject: [PATCH] Fix docs and scripts for asset-transfer-basic as an external service Signed-off-by: Tatsuya Sato --- asset-transfer-basic/chaincode-external/README.md | 2 +- asset-transfer-basic/chaincode-external/sampleBuilder/bin/build | 2 +- .../chaincode-external/sampleBuilder/bin/detect | 2 +- .../chaincode-external/sampleBuilder/bin/release | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asset-transfer-basic/chaincode-external/README.md b/asset-transfer-basic/chaincode-external/README.md index de06f89cf7..a5188efcb9 100755 --- a/asset-transfer-basic/chaincode-external/README.md +++ b/asset-transfer-basic/chaincode-external/README.md @@ -22,7 +22,7 @@ To set the path within the peer container, you will need to modify the docker co ``` - ../..:/opt/gopath/src/github.com/hyperledger/fabric-samples - - ../../config/core.yaml:/etc/hyperledger/fabric/core.yaml + - ../../config/core.yaml:/etc/hyperledger/peercfg/core.yaml ``` This update will mount the `core.yaml` that you modified into the peer container and override the configuration file within the peer image. The update also mounts the fabric-sample builder so that it can be found at the location that you specified in `core.yaml`. You also have the option of commenting out the line `- /var/run/docker.sock:/host/var/run/docker.sock`, since we no longer need to access the docker daemon from inside the peer container to launch the chaincode. diff --git a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/build b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/build index bddd18be1d..57e90f35d9 100755 --- a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/build +++ b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/build @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -euo pipefail diff --git a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/detect b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/detect index d4b70078ad..d6ed2edc30 100755 --- a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/detect +++ b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/detect @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -euo pipefail diff --git a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/release b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/release index 7f03a052aa..cd3cd1b533 100755 --- a/asset-transfer-basic/chaincode-external/sampleBuilder/bin/release +++ b/asset-transfer-basic/chaincode-external/sampleBuilder/bin/release @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -euo pipefail