bmwcarit / barefoot

Java map matching library for integrating the map into software and services with state-of-the-art online and offline map matching that can be used stand-alone and in the cloud.
Apache License 2.0
667 stars 186 forks source link

Docker build failing with osmosis installation #138

Open GeoWonk opened 5 years ago

GeoWonk commented 5 years ago

The Docker container now fails to build at the point it attempts osmosis installation (step 6). This error has arisen sometime in the past month, since I (probably needlessly) rebuild the container once a month.

When running the command sudo docker build -t barefoot-map ./map after https://github.com/bmwcarit/barefoot/issues/137?email_source=notifications&email_token=AGCP4DB7GDGQQHFWW3QMXT3QBMJHHA5CNFSM4IHEFRH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD245QMI#issuecomment-515495985 I eventually get Could not download artifact 'postgresql:postgresql:9.1-901-1.jbdc@jar. The jar is indeed in the maven repo.

I fixed this by altering the Dockerfile so step 6 checks out osmosis 0.44 instead of0.43.1 and the build was successful, although I have not yet completed importation of data.

This is clearly not an issue with Barefoot itself, but are there are known problems with osmosis 0.44 compared to 0.43.1 with respect to Barefoot?

smattheis commented 5 years ago

Thanks for reporting the issue. I will have a look. I think it needs an update of some broken dependency.