marcantondahmen / automad

A flat-file content management system and template engine
https://automad.org
MIT License
659 stars 41 forks source link

[Question] ARM support #110

Closed ParadoxLeon closed 1 week ago

ParadoxLeon commented 2 months ago

Is there arm support for like running on a pi5? I tried running the container with --platform linux/amd64 found in https://github.com/marcantondahmen/automad/issues/105 but I had no luck running the container.

LOG:

exec /usr/local/bin/docker-php-entrypoint: exec format error

marcantondahmen commented 2 months ago

Hi, guess that depends on the images this docker image is base on. I have no resources at the moment to test it, but you can try to create your own image that is based on another PHP/Alpine image that supports your platform. But it looks like your platform is already supported by the underlying PHP image. Did you try to rebuild it from source?

ParadoxLeon commented 2 months ago

sorry completely forgot to answer :) I used the docker image. I will try it in a couple of days with building my own image

ParadoxLeon commented 1 week ago

after a long struggle and not knowing how to work with docker I found this on reddit.

docker run --privileged --rm tonistiigi/binfmt --install all and docker run -it --platform linux/amd64 -dp 80:80 -v /app:/app --name mysite automad/automad:v1 did the trick for me

sorry for keeping this issue up for so long <3