Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] arm64 Docker image #805

Open
metawave opened this issue Jul 9, 2024 · 2 comments
Open

[FEATURE_REQUEST] arm64 Docker image #805

metawave opened this issue Jul 9, 2024 · 2 comments

Comments

@metawave
Copy link

metawave commented Jul 9, 2024

Description of the problem/feature request
I use the docker image on a Ampere machine which uses arm64 arch. It would be much appreciated to also build an arm64 docker image. Binaries seems to work already. With the rise of new ARM based Windows machines (Surfaces) and the already growing Apple Silicon Macs it would make sense to support both.

@ppogladic
Copy link

We are also using arm machines to run GH actions. We would appreciate it if the arm64 build was supported.

@janisz
Copy link
Collaborator

janisz commented Mar 10, 2025

Would you like to contribute a patch for this. We are using goreleaser and it supports multiarch builds https://goreleaser.com/cookbooks/multi-platform-docker-images/

We need to create a -arm64 release like it's done for amd

- dockerfile: image/Dockerfile
ids:
- kube-linter
image_templates:
- "ghcr.io/stackrox/kube-linter:latest"
- "ghcr.io/stackrox/kube-linter:{{ .Tag }}"
- "stackrox/kube-linter:latest"
- "stackrox/kube-linter:{{ .Tag }}"
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.vendor=RedHat"
- "--label=org.opencontainers.image.description=Kube-Linter {{ .Version }}"
- "--label=org.opencontainers.image.url=https://kubelinter.io"
- "--label=org.opencontainers.image.documentation=https://docs.kubelinter.io/"
- "--label=org.opencontainers.image.source={{ .GitURL }}"
- "--label=org.opencontainers.image.licenses=Apache"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.created={{ .CommitDate }}"

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

No branches or pull requests

3 participants