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

[Documentation] Apple Silicon Users #21

Open
vysecurity opened this issue May 1, 2023 · 6 comments
Open

[Documentation] Apple Silicon Users #21

vysecurity opened this issue May 1, 2023 · 6 comments

Comments

@vysecurity
Copy link
Contributor

vysecurity commented May 1, 2023

Installation Notes for Passerby Apple Silicon Users

You may have noticed that the build breaks at lithops runtime build sc-runtime -f Dockerfile. Documenting this information here so that others can get it installed properly.

brew install python@3.9

Modify Dockerfile references:

FROM

to

FROM --platform=linux/amd64

Run the build:

lithops runtime build sc-runtime -f Dockerfile
@abdilahrf
Copy link

abdilahrf commented May 3, 2023

I got this error after running the build : lithops runtime build sc-runtime -f Dockerfile

Screen Shot 2023-05-04 at 12 24 49 AM

@masonhck357
Copy link

This is exaxctly what I am coming accross.

image

@fyoorer
Copy link
Owner

fyoorer commented May 4, 2023

I don't have a Apple M1 machine so no idea really. @vysecurity any idea what these errors could be?

@vysecurity
Copy link
Contributor Author

vysecurity commented May 5, 2023

Is your Docker set up correctly on M1? There's an experimental feature to use the faster version of x64 if I recall. Maybe it's that?

Docker Desktop-2023-05-05 at 10 04 05@2x

Note that using Rosetta is way faster than QEMU so there's no reason to go back anyway.

@gustavorobertux
Copy link

I got this error after running the build : lithops runtime build sc-runtime -f Dockerfile

Screen Shot 2023-05-04 at 12 24 49 AM

Install and run the docker in your machine ;)

@abdilahrf
Copy link

@gustavorobertux I solve that by using linux machine, Apple Mac M1 Silicone docker is not working well this the docker build architecture.

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

5 participants