jokkedk / webgrind

Xdebug Profiling Web Frontend in PHP
Other
3.28k stars 411 forks source link

docker image for arm64 (Apple M-series processors) #179

Open langemeijer opened 10 months ago

langemeijer commented 10 months ago

Sadly, my Apple M1/2 collegues cannot run the docker image. Can you provide an arm64 image?

kwerle commented 9 months ago

https://docs.docker.com/build/ci/github-actions/multi-platform/

barmax commented 9 months ago

Sadly, my Apple M1/2 collegues cannot run the docker image.

I have the same problem.

To fix the it, run the docker command with the following argument: --platform=linux/amd64:

docker run --platform=linux/amd64 --rm -v /path/to/xdebug/files:/tmp -p 80:80 jokkedk/webgrind:latest
Feng-Shui commented 8 months ago

For compose files:

platform: linux/amd64