Fix Ruby issue on Apple silicon (without compiling a patched Ruby) #201

Merged
raucao merged 2 commits from chore/update_docker_image into master 2024-08-28 08:12:32 +00:00
Owner

Since the issue has been fixed in Ruby upstream, we should be able to switch back to the pre-built Ruby base image, so that it doesn't take ages to run local dev image builds anymore.

I cannot test this myself, so if someone with Apple silicon could kindly run a docker-compose up --build on this branch and report the result, it would be much appreciated. 🙏

Since the issue has been fixed in Ruby upstream, we should be able to switch back to the pre-built Ruby base image, so that it doesn't take ages to run local dev image builds anymore. I cannot test this myself, so if someone with Apple silicon could kindly run a `docker-compose up --build` on this branch and report the result, it would be much appreciated. 🙏
raucao added the
dev environment
kredits-1
labels 2024-08-12 08:37:38 +00:00
raucao added 2 commits 2024-08-12 08:37:39 +00:00
This reverts commit bbf3fb91a0389ab4c3fd9440b049a703425b28e7.
Update Docker base image
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 5s
e08ea64f47
Fixes the bug with Ruby on Apple silicon
raucao requested review from galfert 2024-08-12 08:37:46 +00:00
raucao requested review from slvrbckt 2024-08-12 08:37:47 +00:00
Author
Owner

@galfert I think you wanted to approve this?

@galfert I think you wanted to approve this?
galfert approved these changes 2024-08-28 07:46:26 +00:00
galfert left a comment
Owner

Sorry, I still had the tab open in another window and didn't submit the approval.

Initially I got errors for some of the images (ldap, liquor-cabinet & strfry)

The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

But setting the env variable DOCKER_DEFAULT_PLATFORM=linux/amd64 fixed that.

Had a couple other issues but they were all related to my Colima setup.

Now all containers build successfully.

Sorry, I still had the tab open in another window and didn't submit the approval. Initially I got errors for some of the images (ldap, liquor-cabinet & strfry) > The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested But setting the env variable `DOCKER_DEFAULT_PLATFORM=linux/amd64` fixed that. Had a couple other issues but they were all related to my Colima setup. Now all containers build successfully.
Author
Owner

Great!

But setting the env variable DOCKER_DEFAULT_PLATFORM=linux/amd64 fixed that.

That's probably important enough for Mac users to document in the README?

Great! > But setting the env variable DOCKER_DEFAULT_PLATFORM=linux/amd64 fixed that. That's probably important enough for Mac users to document in the README?
raucao merged commit 45137e0cfe into master 2024-08-28 08:12:32 +00:00
raucao deleted branch chore/update_docker_image 2024-08-28 08:12:32 +00:00
raucao removed review request for slvrbckt 2024-08-28 08:12:36 +00:00
Sign in to join this conversation.
No description provided.