Closed JWileczek closed 5 years ago
I got bitten by https://github.com/valhalla/docker/issues/42 which is why we have a cd
step as per https://github.com/pelias/docker/pull/28#issuecomment-429978214
I'd suggest we do the same here so that any temp files are written to a large bind-mounted volume instead of inside the container.
I've uploaded some old copies of the timezones
and admins
sqlite databases if you'd like to include them?
I've moved this code into https://github.com/pelias/docker-valhalla-baseimage and updated it to work on Ubu Bionic
This relies on a separate PR locking down the baseimage version to be pulled in to work as-is without additional changes to dockerfile: https://github.com/pelias/baseimage/pull/9
These changes would install valhalla along with polyline image, and when encountering a large pbf file during the generation it will use valhalla to generate the polyline data instead of the normal pbf tool.