-
-
Notifications
You must be signed in to change notification settings - Fork 753
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 doesn't work on ARM #3094
Comments
So i tried the platform flag again and it's working. I probably did something wrong before. It seems that everything is related to this issue docker/build-push-action#820. But nothing is blocking me anymore so I am gonna close this issue. Sorry for the spam. |
Have we lost something that indicates what the platform is? |
Sorry, I don't understand the question. Do you mean the platform from which I tried it or that we lost something in the build process? |
I'm not very familiar with how arch works in docker so this may be a silly question. You said there was something in a manifest with older versions that is now absent from the current ones. Is that something that would help if it was put back? |
I guess so, based on the error message I am getting. But my knowledge in this topic is also not very deep. Perhaps it would help to rerun the publish job. Assuming the bug was fixed in Btw does it work on your machine? I asked my colleague (also with MacBook m1) and he's getting the same error. |
I do, but I would expect it to fail as we don't have an arm64 image. I don't understand why it worked previously. |
As this previously worked and our images have not changed I believe this may be a problem with the upstream Erlang images that we use as a base. |
For what its worth I actually ran into the same issue with the node image https://github.com/gleam-lang/gleam/pkgs/container/gleam/204505867?tag=v1.1.0-node but not with https://github.com/gleam-lang/gleam/pkgs/container/gleam/186438067?tag=v1.0.0-node |
What do we need to do to resolve this so the architecture is picked up appropriately?
It would be good to have but isn't something I have time to work on. |
I am not sure yet. I still suspect that the |
I am trying to use the official docker image but I am getting this error when pulling
I am getting the same result on my M1 Macbook and on my ARM Linux server.
Weirdly the older versions (from v1.0.0) work. So I assume that something changed in the build process.
And if you look at the releases in web ui, they look different. The older ones have
Manifest
info at the bottom and the new ones have a weird valueunknown/unknown
under OS tab.v1.0.0
v1.1.0
I tried overriding the platform with docker flag
--platform=linux/amd64
but that failed later during the build.The text was updated successfully, but these errors were encountered: