pablobm left a comment (openstreetmap/openstreetmap-website#6713)

There's a snag. After a few weeks working on my Linux/amd64 machine, I switched 
to my MacBook Pro M1 and found that PostGIS wasn't working on the Docker and 
Dev Container setups. Turns out that the PostGIS team don't supply Docker 
images for arm64.

For the "classic" Docker setup, I have added a commit to make it work. It 
leverages the Postgres container having its own Dockerfile, using `apt install` 
to get the appropriate package. An alternative would have been adding 
`platform: linux/amd64` to this container in `docker-compose.yml`, but I don't 
know what the side effects would be. Eg: would it work on Windows?

For the Dev Container setup... I'm stumped. The setup has stopped working for 
me on macOS (it works on Linux/amd64). Therefore I'm not able to test this. I 
have spent too long today looking into this and I'm parking it for a moment. Is 
anyone able to test? Any ideas?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6713#issuecomment-3878026032
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6713/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to