-
Notifications
You must be signed in to change notification settings - Fork 20
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
Building the forum image fails on arm64 #23
Building the forum image fails on arm64 #23
Comments
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Please remember to remove the |
Build fails with: => ERROR [stage-0 10/12] RUN bundle install 0.3s ------ > [stage-0 10/12] RUN bundle install: #14 0.280 Your bundle only supports platforms ["x86_64-linux"] but your local platform is #14 0.280 aarch64-linux. Add the current platform to the lockfile with `bundle lock #14 0.280 --add-platform aarch64-linux` and try again. ------ executor failed running [/bin/sh -c bundle install]: exit code: 16 This issue is tracked in #23.
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Installing the bundle on arm based arch fails for deployment it exit while complaining that platform doesn't exist gem lock file, and suggest to add it by: `bundle lock --add-platform aarch64-linux` Fixes: overhangio/tutor-forum/issues/23
Yes, you can close #20. |
Why close this issue? arm64 is still not supported, unless I'm mistaken. |
Weird... A commit in a separate repo caused this issue to be closed... |
Aha that bceause I upgraded my fork, and in the last commit I linked it to this issue... Do we need to remove platform form the gitlab ci file in order to close this? I forgot to do it last prior to 16.x release sorry 😄 |
Can we now build the image on arm64? If yes then we should remove that line, yes. |
@ghassanmas can we now build the forum image on arm64? |
This commits closes #23 Related upsream PR openedx/cs_comments_service/pull/411
Yes I have tested it already few times, and I just opened a PR to remove what you have suggested earlier as a next step at #27. |
This commits closes #23 Related upsream PR openedx/cs_comments_service/pull/411
Building the image fails on Arm based arch/(e.g Apple silicon), due to gem lock file not supporting the platform/arch.
Docker build error:
To reproduce, just build the image
tutor images build forum
on a device which is not Arch x86.The suggested fix above does fix it, however it's better to resolve the issue upstream @ https://github.com/openedx/cs_comments_service.
The text was updated successfully, but these errors were encountered: