laravel-served
laravel-served copied to clipboard
Issues on building Php 7.4-fpm
Development Environment:
- Mac OS, M1
When running php artisan served:up
ERROR : : #1 [internal] load build definition from Dockerfile
#1 sha256:c4efc71d75273557a7c7be51362d361b9536dcdc8da29
#1 transferring dockerfile: 2.33kB done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 sha256:41e4a846919871ed72ae59be3152c6ff843a8f948833
I am not sure where is the issue! please help
Sadly I don't own a M1, so I cannot replicate the issue and thereby provide a fix. Feel free to send in a PR (or just explain how you got it working and I will look into a patch)
not sure if this is relevant, but with docker on M1, the most common issue I've faced (in general) is with lack of support for mysql.
It maybe that the image for mysql needs to be switched to use mariadb instead?
image: mariadb:10.5.8
I am not sure if this is the issue. The build process got stuck even before it can proceed to db image
If you run the commands with -vvv you should get the actual underlying commands that docker is running. That might help in debugging.