From a2d356dd3c6b74c5e15920f1ab2c898ded66e76f Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 10 Aug 2024 12:10:50 +0000 Subject: [PATCH] chore(libpostal): configure git to fetch large files 1. use http 1.1 2. increase buffer size 3. increate timeout --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b3b88fb..0171555 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,11 @@ RUN apt-get update \ pkg-config \ && rm -rf /var/lib/apt/lists/* WORKDIR /opt/src -RUN git clone https://github.com/openvenues/libpostal.git \ +RUN git config --global http.version HTTP/1.1 \ + && git config --global http.postBuffer 524288000 \ + && git config --global http.lowSpeedLimit 0 \ + && git config --global http.lowSpeedTime 999999 \ + && git clone https://github.com/openvenues/libpostal.git \ && cd libpostal \ && ./bootstrap.sh \ && ./configure --datadir=/usr/local/share \