Skip to content

Platform mismatch in manifest for arm32v7 slim variants #888

@mrlt8

Description

@mrlt8

Encountering platform mismatch issues with the slim variants of the Python Docker images.

This issue seems to be specific to the slim variants of the Python images. The manifest for arm32v7/python:3.12-slim includes platforms linux/arm/v8 and unknown/unknown, causing a mismatch during the build process.

arm32v7/python:3.12-slim

docker buildx imagetools inspect arm32v7/python:3.12-slim
Name:      docker.io/arm32v7/python:3.12-slim
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:f3dff80db9739808b7582fe0a44ad6743a850c86b0dc1c4a7e58f3fbe74841aa
           
Manifests: 
  Name:        docker.io/arm32v7/python:3.12-slim@sha256:0c37fa8b12296a8791256137a0f581c6143d17fdffb3e2f15a93782f314abf0b
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/arm/v8
               
  Name:        docker.io/arm32v7/python:3.12-slim@sha256:d43d755eb1af8f7b85f2669e5bb5d04c9d6b43578bec42de33af04e7c43a7e49
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations: 
    vnd.docker.reference.digest: sha256:0c37fa8b12296a8791256137a0f581c6143d17fdffb3e2f15a93782f314abf0b
    vnd.docker.reference.type:   attestation-manifest

arm32v7/python:3.12

docker buildx imagetools inspect arm32v7/python:3.12     
Name:      docker.io/arm32v7/python:3.12
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:a86c2a8bbbc1151f19a5613fbd073070d3b8b5057c3f2805c48f61ba7315b7b8
           
Manifests: 
  Name:      docker.io/arm32v7/python:3.12@sha256:4fa63b19c59072477f5a54843464fb2e69085e500dd2811a55cddc3e201c0a7a
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions