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

Add apple m1 chip support #81

Closed
ozgurozalp opened this issue Apr 7, 2023 · 15 comments
Closed

Add apple m1 chip support #81

ozgurozalp opened this issue Apr 7, 2023 · 15 comments
Labels
help wanted Extra attention is needed

Comments

@ozgurozalp
Copy link

No description provided.

@adhocore
Copy link
Owner

adhocore commented Apr 7, 2023

isn't it already supported? if not what is the error or output in macos?

@ozgurozalp
Copy link
Author

@adhocore

Maybe the problem is apple's 'M1 pro' chip ? IDK

image

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

ah right it might be for the chip more than OS

@ozgurozalp ozgurozalp changed the title Add macos support Add apple m1 chip support Apr 8, 2023
@ozgurozalp
Copy link
Author

There is a solution, right?

@adhocore adhocore added the help wanted Extra attention is needed label Apr 8, 2023
@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

we need to rebuild it in different architecture - doable but need to invest some time which i lack currently

ref: adhocore/docker-lemp#34

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

which php version you using? i will try to fix for that first as a test PoC

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

anyways i have tried to build for all versions and it takes long time - give some hours at least.
you can track here https://github.com/adhocore/docker-phpfpm/actions/runs/4642799387/jobs/8216991572
the build order is 8.2 -> 8.1 -> 8.0 -> 7.4

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

@ozgurozalp php 8.2 is available for arm arch, could you check it out? thanks

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

seems failed for 8.1 and below, but you can try out 8.2

@ozgurozalp
Copy link
Author

@adhocore yeah its working now(8.2) thank you

@adhocore
Copy link
Owner

adhocore commented Apr 8, 2023

@ozgurozalp
Copy link
Author

8.2 not running on "Ubuntu 20.04.6 LTS (Focal Fossa)"

local 👍🏽
prod 👎🏽

Error
image

@adhocore
Copy link
Owner

@ozgurozalp it is fixed for 8.2, 8.1, 8.0 so could you recheck?
7.4 is broken but since it is outdated it is not that big of an issue

@ozgurozalp
Copy link
Author

@adhocore I checked 8.0 and above, there is no problem

@adhocore
Copy link
Owner

cool, closing this, also now i will be publishing arm builds for lemp fullstack as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants