Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

DXF 7.8.0 doesn't understand docker image manifest lists, needs a version bump #25

Open
cydergoth opened this issue Oct 23, 2024 · 1 comment

Comments

@cydergoth
Copy link

DXF 12.1.0 is the current version and understands manifest lists with multiple entries. Media type is "application/vnd.docker.distribution.manifest.list.v2+json"

Please update to consume the latest DXF 12.1.0

This change will also need changes in the manifest parser, and DXF get_manifest also now takes an optional platform argument.

Example manifest

{
  "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "digest": "sha256:a4b8cae8f973cd02daa7420310b03ddaf37d5c3840a4873b4db216e3e64cc275",
      "size": 952,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
      "digest": "sha256:8e07470086fb5a1939d6f769c3434c7fb584cb9c9858e38bb9982cb8db34e85a",
      "size": 952,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    }
  ]
}
@gabrieldemarmiesse
Copy link
Owner

Thanks for opening this issue. Sadly this project is unmaintained, I won't maintain it going forward. I added a note to the readme to clarify the situation.

If you want to fix something, feel free to create a fork and use it! I hope it helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants