Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29825

Merge both install packages scripts

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.4, 2021.0
    • Component/s: Docker Image
    • Release Notes Description:
      Hide

      To simplify the installation of packages while building a Docker image, we have merged both install-packages.sh and install-local-packages.sh scripts into only one install-packages.sh that will handle both packages from Connect and from local packages while offline.

      FROM <DOCKER_REGISTRY>/nuxeo:<TAG>
      ...
      # Install a local package without its dependencies (`mp-install --nodeps`)
      RUN /install-packages.sh --offline $NUXEO_HOME/local-packages/local-package-nodeps.zip
      # Install remote packages and a local package with its dependencies
      RUN /install-packages.sh --clid ${CLID} --connect-url ${CONNECT_URL} nuxeo-web-ui nuxeo-drive $NUXEO_HOME/local-packages/local-package.zip
      ...
      
      Show
      To simplify the installation of packages while building a Docker image, we have merged both install-packages.sh and install-local-packages.sh scripts into only one install-packages.sh that will handle both packages from Connect and from local packages while offline. FROM <DOCKER_REGISTRY>/nuxeo:<TAG> ... # Install a local package without its dependencies (`mp-install --nodeps`) RUN /install-packages.sh --offline $NUXEO_HOME/local-packages/local-package-nodeps.zip # Install remote packages and a local package with its dependencies RUN /install-packages.sh --clid ${CLID} --connect-url ${CONNECT_URL} nuxeo-web-ui nuxeo-drive $NUXEO_HOME/local-packages/local-package.zip ...
    • Epic Link:
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #21
    • Story Points:
      3

      Description

      Merge both install-local-packages.sh and install-packages.sh scripts in only one install-packages.sh that would handle both install packages from Connect and from local packages while offline.

      Add a new --offline parameter to install-packages.sh to disable Connect.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h