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

Will docker-yii2 Support arm devices? #129

Closed
yawaweb opened this issue Apr 28, 2021 · 5 comments · Fixed by #161
Closed

Will docker-yii2 Support arm devices? #129

yawaweb opened this issue Apr 28, 2021 · 5 comments · Fixed by #161

Comments

@yawaweb
Copy link

yawaweb commented Apr 28, 2021

Hello,
Does docker-yii2 plan to support arm devices like Raspberry Pi ?

@schmunk42
Copy link
Contributor

What must be done to support it? Isn't it more like you need to build on the required platform?

@rusticpow
Copy link

There is a problem with performance in Apple M1 (high cpu usage), because it emulates x64.

image

@schmunk42
Copy link
Contributor

Is it this? https://docs.docker.com/desktop/multi-arch/#build-multi-arch-images-with-buildx

I have no experience with it, PRs welcome. (should not blow up image-size)

@dsx90
Copy link

dsx90 commented Apr 2, 2022

Я решил данную проблему взяв исходник https://github.com/yiisoft/yii2-docker/blob/master/php/Dockerfile-debian
и в docker-compose добавил:
build:
dockerfile: Dockerfile-debian
args:
- PHP_BASE_IMAGE_VERSION=7.4.28-fpm

@yepes
Copy link

yepes commented Jan 13, 2023

Я решил данную проблему взяв исходник https://github.com/yiisoft/yii2-docker/blob/master/php/Dockerfile-debian
и в docker-compose добавил:
build:
dockerfile: Dockerfile-debian
args:

  • PHP_BASE_IMAGE_VERSION=7.4.28-fpm

can you please post your docker-compose.yml for reference?

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

Successfully merging a pull request may close this issue.

6 participants