fyoorer / ShadowClone

Unleash the power of cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Documentation] Apple Silicon Users

vysecurity opened this issue · comments

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

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

This is exaxctly what I am coming accross.

image

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

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.

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 ;)

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