docker-library / busybox

Docker Official Image packaging for Busybox
http://busybox.net
388 stars 126 forks source link

busybox 1.36.1 may have been built with an older version of build tool #186

Closed TomoyukiSugiyama closed 7 months ago

TomoyukiSugiyama commented 7 months ago

medyaType in busybox:1.36.1 is application/vnd.oci.image.manifest.v1+json

busybox:1.36.0

% docker manifest inspect busybox:1.36.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 528,
         "digest": "sha256:086417a48026173aaadca4ce43a1e4b385e8e62cc738ba79fc6637049674cac0",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },

busybox:1.36.1

% docker manifest inspect busybox:1.36.1
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 858,
         "digest": "sha256:cca7bbfb3cd4dc1022f00cee78c51aa46ecc3141188f0dd520978a620697e7ad",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },

ref: https://github.com/containerd/containerd/blob/23573965ffcf8bdb282389b5705de5e3082be824/images/mediatypes.go#L39

tianon commented 7 months ago

Can you please elaborate on what you think the issue is? (It seems like you might want to read through https://github.com/opencontainers/image-spec if it's the OCI media types you're referring to.)

TomoyukiSugiyama commented 7 months ago

Thanks for the reply. Sorry, I made a mistake.