yiisoft / yii2-docker

Official Docker images suitable for Yii 2.0
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
384 stars 202 forks source link

Will docker-yii2 Support arm devices? #129

Closed yawaweb closed 1 year ago

yawaweb commented 3 years ago

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

schmunk42 commented 3 years ago

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

rusticpow commented 3 years ago

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

image

schmunk42 commented 3 years ago

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 commented 2 years ago

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

yepes commented 1 year ago

Я решил данную проблему взяв исходник 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?