Comment 3 for bug 1930094

Revision history for this message
Thomas Bechtold (toabctl) wrote :

arm is also affected:

Doing "docker manifest inspect ubuntu:latest" (that is *not* generated with LP) looks like:

     {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 943,
         "digest": "sha256:f070ebd4643c37026ed44149d67d92efa317e658b87246dc648470a238730860",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 943,
         "digest": "sha256:f796dba8ac91e7995df05e0184761061581953152a6107c0e0e0895e6bb44893",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      },

An image uploaded with launchpad ("docker manifest inspect toabctl/ubtest2:base-21.10_edge") looks like:

      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 446,
         "digest": "sha256:ad77ab275333cc1792ad8894781e056e6bc98d867ca37abdaaab2c1f4174a535",
         "platform": {
            "architecture": "armhf",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 446,
         "digest": "sha256:817124a24e257165f5b0a9db5cd1b7db4aad4138d2502955cd9482b81830a25d",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }

So 1) the "architecture" field is wrong and 2) the "variant" field is missing.