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

Migrate platform Docker image build to Kaniko

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: CI/CD

      Description

      Currently using Docker with Skaffold, see https://github.com/nuxeo/nuxeo/pull/3183

      Better to use Kaniko than the Docker from the K8s node:

      • Control the Docker engine version and be able to use a recent one, allowing use of multi-stage, ...
      • Don't monopolize the Docker resources: disk space for cache, etc.
      • Leverage the Docker registry cache.
      • Ability to build images in parallel.

      We might also want to see if we can avoid calling Skaffold twice (this building the image twice) to push the image to the internal Jenkins X Docker registry and to the public one (packages.nuxeo.com): https://github.com/nuxeo/nuxeo/pull/3183/files#diff-58231b16fdee45a03a4ee3cf94a9f2c3R170

      In fact currently we are pushing PR versions to the public registry whereas it could be in separate stage only for the master branch.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours
                1d 2h