-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Docker image for arm64 #1262
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
@odidev I can't think of any reason stopping us from doing this. Are you planning to contribute and send the PR for this ? |
Thanks for the reply. I didn't update anything in the Dockerfile, it was perfectly building docker image when ran in my arm64 local machine. I was just thinking that if you could release image for arm64 in dockerhub. May I know, how can I contribute in doing that? |
can you share the steps that you performed ? I can test it out with my raspi :) |
I didn't update anything in the Dockerfile. The Steps followed to build the docker image for arm64 are -
For building image using Dockerfile.alpine I am happy to help if any more information is required. |
The |
you can always download an arm version of binary from the latest release |
As we don't have multi-arch support in goreleaser, I have added docker release code in tag.yml to release images through github-actions and images got uploaded for both amd64 and arm64 in docker hub successfully. Please check the below links for more details. Commit Link- odidev@cf45b63 Github actions Link- https://github.com/odidev/golangci-lint/runs/965764172?check_suite_focus=true Dockerhub Link- https://hub.docker.com/repository/docker/odidev/golangci-lint/tags?page=1 Please check and let me know if I can raise PR with these changes. |
it will be great if we can modify goreleaser, so all depended project can re-use this feature |
Since go-release does not support multi-arch so I have tried supporting it through another way |
Can anyone please review my changes and let me know if we can proceed with these changes. Link - odidev@cf45b63 |
@odidev can we use https://github.com/docker/build-push-action instead for building multi-arch docker intead ? Dancing around the script is fine, but make it hard to mantain though. Additionally, if we want to do this, we need to remove docker step in goreleaser, and build multi-arch docker image using buildx, however, release note will not have docker details. PS: As you are already working on this, I just assign this to you 👍 |
@sayboras I have done the changes as per your suggestions. Can you please review the changes and suggest if any change is required? Commit Link - odidev@6b002d5 Dockerhub Link - https://hub.docker.com/repository/registry-1.docker.io/odidev/golangci-lint/tags?page=1 |
Can you replace |
Fixed as part of #1383 |
Is your feature request related to a problem? Please describe.
Hi Team,
Are you planning to release golangci/golangci-lint image for arm64?
Describe the solution you'd like
I am checking on adding arm64 support in Travis-CI for kube-router package, but I was facing issue in pulling golangci-lint image for arm64 as it is not available in the docker hub. I have observed that golangci-lint has support for arm64 platform. I was successful in building golangci-lint docker image in my local arm64 machine. May I know, Is it possible to make the image also available for arm64?
The text was updated successfully, but these errors were encountered: