-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fixed #8342: Add ARM64 architecture to Docker Builds #12904
Conversation
💖 Thanks for this pull request! 💖 We use semantic commit messages to streamline the release process and easily generate changelogs between versions. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix if it doesn't have one already. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
PR Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great!!!! Thank you for fixing this for us! I really appreciate it. I'll try and see if I can figure out how to test it on my own machine (which is ARM64), and get it merged up. (Our fleet for our hosted platform is pretty near to 100% Graviton2 on AWS, as well).
Neat! Like I said I couldn't directly reproduce the issue in Docker on my M1 Mac, though I haven't tried spinning it up in Kubernetes locally. If you have a Graviton EKS cluster available to you at all, I was able to get it to happen there simply by running |
@uberbrady Just realized that I need to remove the space from in between |
Fixed - Should be good to go as you see fit. |
Congrats on merging your first pull request! 🎉🎉🎉 |
Awesome, thank you! |
@snipe @uberbrady I noticed builds randomly failed last night for the ubuntu image. Looks like it was unable to find packages, wondering if maybe it was some kind of networking error either in GitHub or Ubuntu's repos. Without making any code changes (with the exception of allowing the action to run on my fork of the repo) the build succeeded today: https://github.com/zacharyfleck/snipe-it/actions/runs/4811232692/jobs/8564946218 I have a feeling next push to
|
Description
Discovered today that Snipe-IT's docker image does not currently support the ARM architecture, which as many may know is becoming more prominent thanks to Apple Silicon and Amazon's Graviton processors (and similar from other cloud providers). We utilize Snipe-IT in Kubernetes and are in the process of migrating our infra over from x86_64 to ARM64 to provide cost savings and performance gains.
Currently - Attempting to run the AMD64 version of Snipe-IT in an AWS EKS cluster with node type m7g.large returns
exec /startup.sh: exec format error
. Adding a native ARM image, however, starts like normal with seemingly no errors. (I would like to note, however, that I did not receive theexec /startup.sh: exec format error
error on my local M1 Mac)I have tested this image to the best of my abilities to look for any issues or errors, and none have been found as of now.
Relates to #8342
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration: N/A - See
Dockerfile
in root of repository for relevant information.Checklist: