Docker run error, including tests

Hello. I`l try to run graphhopper from docker, but all time i have the error:

kshnkvn@kshnkvn-vb:~$ sudo docker run -it -p 8989:8989 -v /home/kshnkvn/graphhopper-maps/:/data graphhopper:master ./graphhopper.sh web /data/north-america-latest.osm.pbf
## using java 1.8.0_242 (64bit) from /usr/local/openjdk-8
./graphhopper.sh: line 138: mvn: command not found
## existing jar found web/target/graphhopper-web-1.0-SNAPSHOT.jar
## now web. JAVA_OPTS=-server -Xconcurrentio -Xmx1g -Xms1g -XX:+UseG1GC -Ddw.server.applicationConnectors[0].bindHost=0.0.0.0 -Ddw.server.applicationConnectors[0].port=8989
2020-02-06 11:28:34.104 [main] INFO  i.d.server.DefaultServerFactory - Registering jersey handler with root path prefix: /
2020-02-06 11:28:34.111 [main] INFO  i.d.server.DefaultServerFactory - Registering admin handler with root path prefix: /
java.lang.IllegalArgumentException: If no graph.location is provided you need to specify an OSM file.
	at com.graphhopper.GraphHopper.init(GraphHopper.java:504)
	at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:89)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:192)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:53)
	at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:93)
	at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:36)

kshnkvn@kshnkvn-vb:~$ sudo docker run -d --name graphhopper -v /home/kshnkvn/graphhopper-maps/data:/data -p 8989:8989 graphhopper:master
c21a439f0b035a2ea906e94d4b9973e0b1b83462b88c62dbe95cac19b4326477
kshnkvn@kshnkvn-vb:~$ sudo docker ps -all
CONTAINER ID        IMAGE                COMMAND                  CREATED             STATUS                      PORTS               NAMES
c21a439f0b03        graphhopper:master   "./graphhopper.sh we…"   59 seconds ago      Exited (1) 34 seconds ago                       graphhopper
kshnkvn@kshnkvn-vb:~$ sudo docker logs graphhopper
## using java 1.8.0_242 (64bit) from /usr/local/openjdk-8
./graphhopper.sh: line 138: mvn: command not found
File not found '/data/europe_germany_berlin.pbf'. Press ENTER to get it from: http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf
Press CTRL+C if you do not have enough disc space or you don't want to download several MB.
## now downloading OSM file from http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf and extracting to /data/europe_germany_berlin.pbf
  HTTP/1.1 200 OK
  Date: Thu, 06 Feb 2020 11:34:37 GMT
  Server: Apache/2.4.29 (Ubuntu)
  Last-Modified: Thu, 06 Feb 2020 01:13:34 GMT
  ETag: "3778c52-59dddfb5c0b80"
  Accept-Ranges: bytes
  Content-Length: 58166354
  Keep-Alive: timeout=5, max=100
  Connection: Keep-Alive
  Content-Type: application/octet-stream
2020-02-06 11:34:51 URL:http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf [58166354/58166354] -> "/data/europe_germany_berlin.pbf" [1]
## existing jar found web/target/graphhopper-web-1.0-SNAPSHOT.jar
## now web. JAVA_OPTS=-server -Xconcurrentio -Xmx1g -Xms1g -XX:+UseG1GC -Ddw.server.applicationConnectors[0].bindHost=0.0.0.0 -Ddw.server.applicationConnectors[0].port=8989
2020-02-06 11:34:57.898 [main] INFO  i.d.server.DefaultServerFactory - Registering jersey handler with root path prefix: /
2020-02-06 11:34:57.906 [main] INFO  i.d.server.DefaultServerFactory - Registering admin handler with root path prefix: /
java.lang.IllegalArgumentException: If no graph.location is provided you need to specify an OSM file.
	at com.graphhopper.GraphHopper.init(GraphHopper.java:504)
	at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:89)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:192)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:53)
	at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:93)
	at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:36)
kshnkvn@kshnkvn-vb:~$ sudo docker run -d --name graphhopper -v /home/kshnkvn/graphhopper-maps/data:/data -p 8989:8989 graphhopper:master ./graphhopper.sh web /data/north-america-latest.osm.pbf
7733f717310453f8cedb3e1d4d718ce6d8fbe55f27a2edbad77af2496ee0aac3
kshnkvn@kshnkvn-vb:~$ sudo docker logs graphhopper
## using java 1.8.0_242 (64bit) from /usr/local/openjdk-8
./graphhopper.sh: line 138: mvn: command not found
## existing jar found web/target/graphhopper-web-1.0-SNAPSHOT.jar
## now web. JAVA_OPTS=-server -Xconcurrentio -Xmx1g -Xms1g -XX:+UseG1GC -Ddw.server.applicationConnectors[0].bindHost=0.0.0.0 -Ddw.server.applicationConnectors[0].port=8989
2020-02-06 11:37:15.586 [main] INFO  i.d.server.DefaultServerFactory - Registering jersey handler with root path prefix: /
2020-02-06 11:37:15.591 [main] INFO  i.d.server.DefaultServerFactory - Registering admin handler with root path prefix: /
java.lang.IllegalArgumentException: If no graph.location is provided you need to specify an OSM file.
	at com.graphhopper.GraphHopper.init(GraphHopper.java:504)
	at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:89)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:192)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:53)
	at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:93)
	at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:36)

In addition to these attempts, I tried to run the tests, but they also did not start:

kshnkvn@kshnkvn-vb:~$ sudo docker run -it graphhopper:master ./maven/bin/mvn clean test verify
## using java 1.8.0_242 (64bit) from /usr/local/openjdk-8
./graphhopper.sh: line 138: mvn: command not found
## existing jar found web/target/graphhopper-web-1.0-SNAPSHOT.jar
## now web. JAVA_OPTS=-server -Xconcurrentio -Xmx1g -Xms1g -XX:+UseG1GC -Ddw.server.applicationConnectors[0].bindHost=0.0.0.0 -Ddw.server.applicationConnectors[0].port=8989
2020-02-06 11:40:26.341 [main] INFO  i.d.server.DefaultServerFactory - Registering jersey handler with root path prefix: /
2020-02-06 11:40:26.346 [main] INFO  i.d.server.DefaultServerFactory - Registering admin handler with root path prefix: /
java.lang.IllegalArgumentException: If no graph.location is provided you need to specify an OSM file.
	at com.graphhopper.GraphHopper.init(GraphHopper.java:504)
	at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:89)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:192)
	at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:53)
	at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:93)
	at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:36)

Powered by Discourse