Docker builds for Linux ARM64 #2034
-
|
It would be great if there were Docker builds for Linux ARM64, so folks with ARM servers can use Fizzy! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
|
For some not explained reason the arm image build was disabled: #1804 Coolify just added the service and usually coolify runs on raspberry, so a arm build/image would be awesome! |
Beta Was this translation helpful? Give feedback.
-
|
If we get any information on what is blocking then the community can help get it to a state where it can be readded. As it is, we're working blind since it all seems to be working fine. I have plenty of docker experience but image architecture is one thing I haven't messed with. I threw it to Cursor to see if it could build it for Apple Silicon in a way that I can verify. It came up with a test script here that others can try: https://github.com/dakotahp/fizzy/pull/1/changes#diff-b817a03f9af94fd5122c29a8e8eda20f4bfb6550a3f7e07d7d3272bd8908fd8f The gist is that the Dockerfile already is set up for dynamic architecture, and the bundle process works fine for me. I didn't experience any ruby gem failures to compile. That said, it is possible that maybe the dockerfile is picking up on the gems being bundled locally on my machine prior to trying to build the Dockerfile. Any other things that sound actionable to anyone for next steps? |
Beta Was this translation helpful? Give feedback.
-
|
For now you can use this snippet to build it during deployment: services:
fizzy:
build:
context: 'https://github.com/basecamp/fizzy.git#main'
dockerfile: Dockerfile
environment:
....This will pull the repository and use the original docker file to build on your arm64 with success! |
Beta Was this translation helpful? Give feedback.
-
|
Any updates on this? I can get it to run but only through Rosetta emulation. Here is my .yml... services: volumes: |
Beta Was this translation helpful? Give feedback.
-
|
But is someone actively working on making sure ARM is compatible and doing adjustments so we can add back the default image build? I will gladly look at it if nobody else did until now. Or is this a decision from the Fizzy team that we will not be adding these back? |
Beta Was this translation helpful? Give feedback.
-
|
We've added arm64 back to the default image (#2422). It had been initially disabled due to some build failures, but it's been on our list to add it back again. Should be all set now, but let us know if you run into any issues! |
Beta Was this translation helpful? Give feedback.
We've added arm64 back to the default image (#2422). It had been initially disabled due to some build failures, but it's been on our list to add it back again.
Should be all set now, but let us know if you run into any issues!