I tried running graphhopper in docker, and several things are out of sync:
- Dockerfile has command
graphhopper.sh buildweb
which is absent ingraphhopper.sh
. Should I change it to simplybuild web
?
I checked out the tag 0.10.0, and tried building/running that version, but
-
When running the container, maven is not installed and fails to build GH. When I run
docker-compose up
, I see logs:gr | ./graphhopper.sh: line 86: mvn: command not found
gr | ## using existing osm file /data/data.osm.pbf
gr | ## building graphhopper jar: tools/target/graphhopper-tools-0.10-SNAPSHOT-jar-with-
dependencies.jar
gr | ## using maven at ./maven
gr | ## compilation of parent failed
gr | [INFO] Scanning for projects…
gr | [INFO] ------------------------------------------------------------------------
gr | [INFO] Reactor Build Order:
gr | … Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:3.0.0
Not sure what is going wrong here.