Skip to content

Commit

Permalink
Ajout convertisseur GTFS vers NeTEx (#34)
Browse files Browse the repository at this point in the history
* Add runtime check

* Copy new tool

* Apply required fixes to be able to run gtfs2netexfr
  • Loading branch information
thbar authored Jan 13, 2022
1 parent edf1ee5 commit d729d90
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions transport-site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@ RUN mkdir /transport-tools

COPY --from=transport-tools /usr/local/bin/gtfs-geojson ./transport-tools
RUN chmod +x /transport-tools/gtfs-geojson
# quick check to verify binary dependencies are matched
RUN /transport-tools/gtfs-geojson --help

COPY --from=transport-tools /usr/local/bin/gtfs2netexfr ./transport-tools
# hackish - see https://github.com/etalab/transport-tools/blob/master/Dockerfile#L56
RUN apt-get update
RUN apt-get -y install libtiff5 libcurl3-nss
COPY --from=transport-tools /usr/lib/libproj.* /usr/lib
RUN /transport-tools/gtfs2netexfr --help

0 comments on commit d729d90

Please sign in to comment.