You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to build a new app like described here: https://laravel.com/docs/11.x/installation#sail-on-macos
Since I need PHP 8.3 and support for the x86_64 platform, I modify the docker-compose.yml accordingliy. This used to work before but now it fails with errors:
102.7 Setting up fontconfig-config (2.15.0-1.1ubuntu2) ...
104.3 Illegal instruction
104.3 dpkg-maintscript-helper: error:
104.3 dpkg: error processing package fontconfig-config (--configure):
104.3 installed fontconfig-config package post-installation script subprocess returned error exit status 1
104.3 Setting up libxcb-glx0:amd64 (1.15-1ubuntu2) ...
104.3 Setting up libedit2:amd64 (3.1-20230828-1build1) ...
104.3 Setting up libxcb-shape0:amd64 (1.15-1ubuntu2) ...
104.3 Setting up libavahi-common3:amd64 (0.8-13ubuntu6) ...
104.3 Setting up libxcb-shm0:amd64 (1.15-1ubuntu2) ...
104.3 Setting up dbus-daemon (1.14.10-4ubuntu4.1) ...
104.4 Setting up libcolord2:amd64 (1.4.7-1build2) ...
104.4 Setting up libxcb-present0:amd64 (1.15-1ubuntu2) ...
104.4 Setting up libdconf1:amd64 (0.40.0-4build2) ...
104.4 Setting up libthai0:amd64 (0.1.29-2build1) ...
104.4 Setting up ca-certificates (20240203) ...
108.9 Updating certificates in /etc/ssl/certs...
111.0 Illegal instruction
111.1 dpkg: error processing package ca-certificates (--configure):
111.1 installed ca-certificates package post-installation script subprocess returned error exit status 132
In the meantime we tried several Hardware combinations:
Ubuntu 24.04 on AMD64: works
Apple M1, works
Apple M2, works
Apple M3, still failing.
Since I only have one Apple M3 (MacBook Air) on hand, maybe someone reading this here who has an Apple M3 computer can try this, if it is related to the M3 chip.
For anyone coming accross my postings here, I found the reason for my problem here: docker/for-mac#7255 (comment)
This works for me, but I cannot tell anything about performance yet.
Sail Version
1.40.0
Laravel Version
11.38.2
PHP Version
8.3
Operating System
macOS
OS Version
15.2
Description
I try to build a new app like described here: https://laravel.com/docs/11.x/installation#sail-on-macos
Since I need PHP 8.3 and support for the x86_64 platform, I modify the docker-compose.yml accordingliy. This used to work before but now it fails with errors:
Steps To Reproduce
curl -s "https://laravel.build/example-app?with=mariadb,redis,mailpit" | bash
(works)8.3
indocker-compose.yml
sail build --no-cache
(works)docker-compose.yml
:platform: linux/x86_64
sail build --no-cache
(fails!)Here is my complete docker-compose.yml:
The text was updated successfully, but these errors were encountered: