docker-library / python

Docker Official Image packaging for Python

Home Page:https://www.python.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform mismatch in manifest for arm32v7 slim variants

mrlt8 opened this issue · comments

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

Gah, thanks for the heads up! I'm not sure what happened here, but digging into it now. 🙇

Ok, should be fixed now!

Everything is back to normal now, thanks for the quick fix!