abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
474 stars 113 forks source link

A Dockerfile #647

Closed joe-akeem closed 5 months ago

joe-akeem commented 7 months ago

So brouter can be run in Docker 😃

joe-akeem commented 5 months ago

@afischerdev the script was already run by the gradle build but the generated profiles were not used. I updated the Dockerfile and the documentation. Now, if you start the container without mounting a profiles folder, it will use the default profiles including the variants. If you do mount a folder containing custom profiles, it will replace the one with the default profiles. What do you think?

afischerdev commented 5 months ago

@joe-akeem Thanks for the description, meanwhile I have run the docker build and get the server run. So I've seen what docker is doing. I'm working on a Windows system, so the profile variant builder script doesn't work, but that is not relevant for docker.

BTW for running it on Windows I had to invalidate the first line of gradlew and server.sh