Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overpass-API for arm64 #87

Open
aliibrahimozkan opened this issue Feb 21, 2022 · 2 comments
Open

Overpass-API for arm64 #87

aliibrahimozkan opened this issue Feb 21, 2022 · 2 comments

Comments

@aliibrahimozkan
Copy link

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!

@wiktorn
Copy link
Owner

wiktorn commented Feb 21, 2022

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.

@hiteshsondhi88
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants