lando / platformsh

The Official Platform.sh Lando Plugin
https://docs.lando.dev/platformsh
GNU General Public License v3.0
6 stars 4 forks source link

ARM support Platform.sh #55

Open pirog opened 3 years ago

pirog commented 3 years ago

Just stubbing this out for now but will probably need to address at some point soonish

pirog commented 3 years ago

Using latest Docker for Mac M1 Preview i am able to get a vanilla D8 site up and running. Docker is automatically providing arm64 emulation for the underlying x86 images but this does make things quite slow.

hussainweb commented 3 years ago

I see this is specific to platform.sh. How can I help to add the arm64 builds for a variety of cases?

I was able to find the Dockerfiles here but I am not able to find the entry-point for the docker build scripts. Can you point me to that? That will help me understand how the images are being built and pushed so that I know where to make the changes.

I also guess that some attempts were made to support this with a Docker build 2 days back because I see the last image pushed with a manifest with two images, but both for x86_64 builds.

Please let me know where I can help and I will create MR's for them. If there is something I can do to test on a M1 machine, let me know how.

pirog commented 3 years ago

@hussainweb i would check out lando/lando#2688 but the tl;dr is we are likely going to rebase all our images on the official docker ones since most of those are arm64 compatible to begin with and that would finally get us out of the business of managing our own images which in our opinion is something lando should not be doing anyway.

ARM64 will be officially supported in Lando 4 so likely in the second half of the year. We are hopeful that once Docker Desktop has an official M1 release that the emulation will be sufficient for Lando 3 to work on M1s. If it turns out that this is not the case we will likely put together some additional ARM specific services that M1 users can use as a bridge to Lando 4.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.