From d729d90bb4b7d506baf3110e7b916994f928d674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Thu, 13 Jan 2022 14:33:40 +0100 Subject: [PATCH] Ajout convertisseur GTFS vers NeTEx (#34) * Add runtime check * Copy new tool * Apply required fixes to be able to run gtfs2netexfr --- transport-site/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/transport-site/Dockerfile b/transport-site/Dockerfile index 1b58356..ffd779d 100644 --- a/transport-site/Dockerfile +++ b/transport-site/Dockerfile @@ -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