Overpass-API icon indicating copy to clipboard operation
Overpass-API copied to clipboard

Overpass-API for arm64

Open aliibrahimozkan opened this issue 3 years ago • 2 comments

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!

aliibrahimozkan avatar Feb 21 '22 07:02 aliibrahimozkan

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.

wiktorn avatar Feb 21 '22 19:02 wiktorn

Hey @aliibrahimozkan @wiktorn here is a Dockerfile template which works fine on M1

https://gist.github.com/hiteshsondhi88/bed2fdc871e6f97457057df0d9cce58e

hiteshsondhi88 avatar Mar 09 '22 08:03 hiteshsondhi88