Skip to content

feat: make published Docker images multi-platform, add linux/arm64 plat#4058

Merged
trentm merged 1 commit intomainfrom
trentm/docker-multi-platform
Jun 5, 2024
Merged

feat: make published Docker images multi-platform, add linux/arm64 plat#4058
trentm merged 1 commit intomainfrom
trentm/docker-multi-platform

Conversation

@trentm
Copy link
Copy Markdown
Member

@trentm trentm commented Jun 4, 2024

Closes: #4038

@trentm trentm requested a review from david-luna June 4, 2024 21:05
@trentm trentm self-assigned this Jun 4, 2024
@trentm trentm mentioned this pull request Jun 4, 2024
1 task
@trentm trentm merged commit 88ee807 into main Jun 5, 2024
@trentm trentm deleted the trentm/docker-multi-platform branch June 5, 2024 17:39
@trentm
Copy link
Copy Markdown
Member Author

trentm commented Jun 5, 2024

Looks like that is working. Looking at the latest :edge-tagged published Docker image from the release CI workflow:

% docker manifest inspect docker.elastic.co/observability/apm-agent-nodejs:edge
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 673,
         "digest": "sha256:d1f8a9e703a06043e3a069ea95d816d11986c330bdbf69238d730393f8c45891",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 673,
         "digest": "sha256:f7d2650683c18cc07275160808c425db88f0700fca5bf8cb673935d3087208a5",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 566,
         "digest": "sha256:b6be6b232605cb15ce58bebc10fc432c76f80da518b5e2107806e2ff6ddc5973",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 566,
         "digest": "sha256:42bf6ed86f4905e8b4364eaadf60492951113bb9acb9bfbb992d1a513a7a868e",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      }
   ]
}

there are manifests for amd64 and arm64. (I'm not sure what the two "unknown" ones are, but not relevant here I dont' think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make docker image(s) multi-platform and include linux/arm64

2 participants