Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-2331 Fabric support for javascript chaincode
  3. FAB-5372

Chaincode platform for handling javascript chaincode docker builds

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fabric-chaincode-node
    • Labels:
      None

      Description

      node.js chaincode platform should be responsible for the following "build" steps that result in a custom-built image during chaincode instantiation:

      • using fabric-ccenv, build the chaincode package by running
        npm install

        within the user-supplied chaincode source folder, which must contain a package.json along with the chaincode source itself

      • create a package that contains the entire app folder including the package.json (use-supplied), chaincode JS source files and any other source files (one or more, use-supplied), node_modules folder resulted from the "npm install" step above

      The runtime image should be based on fabric-baseimage, which already contains node engine (and npm, but we won't be using that since all dependencies will have been resolved in the build steps and contained in the chaincode package).

        Attachments

          Activity

            People

            • Assignee:
              jimthematrix Jim Zhang
              Reporter:
              jimthematrix Jim Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 weeks
                2w

                  Git Source Code