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
Apple Silicon support for Docker #1900
Open
biggianteye
wants to merge
4
commits into
codebar:master
Choose a base branch
from
biggianteye:apple-silicon-support
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
akarsh
reviewed
May 2, 2024
akarsh
reviewed
May 2, 2024
akarsh
reviewed
May 2, 2024
Here is the warning: Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.4.17).
Without this setting enabled, you will get the following fatal error every time you try to run a rake command in docker: Errno::ENOSYS: Function not implemented - Failed to initialize inotify /usr/local/bundle/gems/rb-inotify-0.10.1/lib/rb-inotify/notifier.rb:69:in `initialize' See evilmartians/terraforming-rails#34 for a description of the problem.
biggianteye
force-pushed
the
apple-silicon-support
branch
from
May 3, 2024 20:01
f326bf8
to
1b5253f
Compare
I have rebased this PR against the latest |
@matyikriszta Is there anything I can do to help towards getting this PR merged? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Building the application using Docker on Apple Silicon (M1, M2, etc) fails with the following error in the step where it attempts to install Google Chrome:
By default, Docker will use images that match the host architecture (ie.
linux/arm64/v8
on Apple Silicon). The aboveapt
repo does not have an ARM version of Google Chrome.This PR addresses the problem by making it explicit that Docker should always use the
linux/amd64
versions of images.It also addresses another Apple Silicon-related error message and a bundler-related warning. See the individual commit messages for more details.
Note that the main goal of this PR is to get building of the project to complete via Docker.