Overpass-API
Overpass-API copied to clipboard
Overpass-API for arm64
Hi, I'd like to build an Overpass-API Dockerfile for Linux/arm64. While building an image, it throws an error at this line which is below.
- RUN python3 -m venv /app/venv && /app/venv/bin/pip install -r /app/requirements.txt --only-binary osmium
The error is about the version of osmium. The downloaded version was not >= 3.2.0. Therefore, it threw an error.
Do you have any idea why it is failing?
Thanks for your help!
It's failing because there are no binary arm64 builds available for pyosmium.
You need to update Dockerfile and probably ensure that all dependencies required for building are also installed.
Hey @aliibrahimozkan @wiktorn here is a Dockerfile template which works fine on M1
https://gist.github.com/hiteshsondhi88/bed2fdc871e6f97457057df0d9cce58e