forked from Project-OSRM/osrm-backend
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package docker image within mapdata by smaller layers (#99)
* chore: also publish wayid2nodeids.csv.snappy seperately * chore: osrm-backend-within-mapdata docker * chore: export compiled files directly instead of package * chore: pass data version when compile * fix: typo * chore: fix permission issue * docs: udpate and cleanup * docs: fix typo
- Loading branch information
1 parent
6cee22e
commit dea8d0a
Showing
5 changed files
with
60 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
docker-orchestration/osrm-backend-within-mapdata/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
|
||
ARG FROM_TAG=latest | ||
FROM telenavmap/osrm-backend:${FROM_TAG} | ||
|
||
|
||
COPY ./map/map.osrm.cell_metrics /osrm-data/ | ||
COPY ./map/map.osrm.cells /osrm-data/ | ||
COPY ./map/map.osrm.cnbg /osrm-data/ | ||
COPY ./map/map.osrm.cnbg_to_ebg /osrm-data/ | ||
COPY ./map/map.osrm.datasource_names /osrm-data/ | ||
COPY ./map/map.osrm.ebg /osrm-data/ | ||
COPY ./map/map.osrm.ebg_nodes /osrm-data/ | ||
COPY ./map/map.osrm.edges /osrm-data/ | ||
COPY ./map/map.osrm.enw /osrm-data/ | ||
COPY ./map/map.osrm.fileIndex /osrm-data/ | ||
COPY ./map/map.osrm.geometry /osrm-data/ | ||
COPY ./map/map.osrm.icd /osrm-data/ | ||
COPY ./map/map.osrm.maneuver_overrides /osrm-data/ | ||
COPY ./map/map.osrm.mldgr /osrm-data/ | ||
COPY ./map/map.osrm.names /osrm-data/ | ||
COPY ./map/map.osrm.nbg_nodes /osrm-data/ | ||
COPY ./map/map.osrm.partition /osrm-data/ | ||
COPY ./map/map.osrm.properties /osrm-data/ | ||
COPY ./map/map.osrm.ramIndex /osrm-data/ | ||
COPY ./map/map.osrm.restrictions /osrm-data/ | ||
COPY ./map/map.osrm.timestamp /osrm-data/ | ||
COPY ./map/map.osrm.tld /osrm-data/ | ||
COPY ./map/map.osrm.tls /osrm-data/ | ||
COPY ./map/map.osrm.turn_duration_penalties /osrm-data/ | ||
COPY ./map/map.osrm.turn_penalties_index /osrm-data/ | ||
COPY ./map/map.osrm.turn_weight_penalties /osrm-data/ | ||
COPY ./map/wayid2nodeids.csv.snappy /osrm-data/ | ||
|
||
EXPOSE 5000 | ||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters