Skip to content
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

Does iruby run on arm64? #362

Open
binarymax opened this issue Jan 5, 2025 · 1 comment
Open

Does iruby run on arm64? #362

binarymax opened this issue Jan 5, 2025 · 1 comment

Comments

@binarymax
Copy link

binarymax commented Jan 5, 2025

Hi! I have a Mac and am trying to build the following Dockerfile with linux/arm64 as the platform: https://github.com/b08x/docker-stacks-jupyter-ruby-nlp/blob/development/minimal/Dockerfile

Everything looks like it builds, but the last line when trying to invoke iruby throws the following error:

 > [stage-1 15/15] RUN iruby register --force:
#25 0.290 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

Which indicates that there is an architecture dependency on x86_64 somewhere in the chain, but I have been unsuccessful in finding it.

I see that everyone for the most part uses binder to run iruby notebooks, but I'd like to have a Docker for a local install, using a native platform architecture instead of emulating x86 (which slows everything down considerably).

To replicate (if you have a Mac M1 or newer machine):

git clone https://github.com/b08x/docker-stacks-jupyter-ruby-nlp
cd docker-stacks-jupyter-ruby-nlp/minimal
docker build --platform linux/arm64 .

If you can point me in the right direction, I'd be grateful!

@sealocal
Copy link
Contributor

sealocal commented Feb 1, 2025

I am running iruby directly (w/o Docker) on an Apple silicon chip (arm64). If you want help troubleshooting, you could simplify the Dockerfile down the minimal steps necessary to repro the error.

Otherwise, this issue should be closed as the question is answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants