diff --git a/Dockerfile b/Dockerfile index 181f875..0c38015 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,7 @@ 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://hyperledger-fabric.jfrog.io/artifactory/fabric-binaries/hyperledger-fabric-linux-amd64-2.4-stable.tar.gz | tar xzf - -C /opt/fabric \ - && curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.4.1/hyperledger-fabric-linux-amd64-2.4.1.tar.gz | tar xzf - -C /opt/fabric \ + && curl -sSL https://github.com/hyperledger/fabric/releases/download/v2.4.3/hyperledger-fabric-linux-amd64-2.4.3.tar.gz | tar xzf - -C /opt/fabric \ && curl -sSL https://github.com/hyperledger/fabric-ca/releases/download/v1.5.2/hyperledger-fabric-ca-linux-amd64-1.5.2.tar.gz | tar xzf - -C /opt/fabric \ && cd /opt/fabric-chaincode-java \ && mvn -q dependency:copy-dependencies -DoutputDirectory=/opt/fabric-chaincode-java/lib \ diff --git a/internal/pkg/peer/runtime.go b/internal/pkg/peer/runtime.go index 3af473b..61c67d5 100644 --- a/internal/pkg/peer/runtime.go +++ b/internal/pkg/peer/runtime.go @@ -216,6 +216,13 @@ func (p *Peer) createConfig(dataDirectory, mspDirectory string) error { "npm_config_cache", }, }, + { + "path": path.Join(homeDirectory, "builders", "ccaas"), + "name": "chaincode-as-a-service-builder", + "propagateEnvironment": []string{ + "CHAINCODE_AS_A_SERVICE_BUILDER_CONFIG", + }, + }, { "path": path.Join(homeDirectory, "builders", "external"), "name": "external-service-builder",