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

Multi-platform Docker image breaks Openshift build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.45
    • Component/s: Docker Image
    • Release Notes Summary:
      The 2021 Nuxeo Docker image can be pulled with an old Docker version.
    • Epic Link:
    • Sprint:
      nxplatform #98, nxplatform #99
    • Story Points:
      2

      Description

      Since NXP-31273, the Nuxeo Docker image (2021 and 2023) is built with Docker Buildx and the underlying Buildkit builder to have a multi-platform image.

      A side effect is the change of media type in the Docker image manifest from:

      application/vnd.docker.distribution.manifest.v2+json
      

      to:

      application/vnd.oci.image.manifest.v1+json
      

      This is breaking the (old) Openshift 3.9 build of dev customer images with:

      Pulling image docker-private.packages.nuxeo.com/nuxeo/nuxeo:2021.44 ...
      Checking for Docker config file for PULL_DOCKERCFG_PATH in path /var/run/secrets/openshift.io/pull
      Using Docker config file /var/run/secrets/openshift.io/pull/.dockercfg
      Step 1/10 : FROM docker-private.packages.nuxeo.com/nuxeo/nuxeo:2021.44
      Trying to pull repository docker-private.packages.nuxeo.com/nuxeo/nuxeo ... 
      error: build error: missing signature key
      

      Let's keep the docker media type for backward compatibility.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: