Skip to content

Add linux/arm64 to the docker build platforms. - #140

Open
pixlwave wants to merge 1 commit into
element-hq:mainfrom
pixlwave:doug/arm64-container
Open

Add linux/arm64 to the docker build platforms.#140
pixlwave wants to merge 1 commit into
element-hq:mainfrom
pixlwave:doug/arm64-container

Conversation

@pixlwave

@pixlwave pixlwave commented Jul 26, 2026

Copy link
Copy Markdown
Member

There isn't an OCI container image published for ARM64, so this PR adds the platform to the docker workflow to make testing easier on macOS.

I've tested that it builds for arm64 with

container build --platform linux/arm64 --file docker/Dockerfile --tag matrix-content-scanner:arm64 .
container image inspect matrix-content-scanner:arm64

which was successful and indicates the correct platform

"platform" : {
  "architecture" : "arm64",
  "os" : "linux"
},

I can spin up a container from the image which starts and is reachable (but I haven't tried to scan any media).

Full disclosure: The changes were made with the suggestions from an LLM and they look correct to me from my research, but my personal experience in this area is basically limited to running container build xyz locally.

@pixlwave
pixlwave requested a review from a team as a code owner July 26, 2026 16:59
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.

1 participant