chore(libpostal): configure git to fetch large files

1. use http 1.1
2. increase buffer size
3. increate timeout
This commit is contained in:
João Paulo Dubas 2024-08-10 12:10:50 +00:00
parent 0266a7ec35
commit a2d356dd3c
Signed by: joao.dubas
SSH Key Fingerprint: SHA256:V1mixgOGRc/YMhGx/DNkOSmJxgA2vHNrDZEk3wt/kOA

View File

@ -10,7 +10,11 @@ RUN apt-get update \
pkg-config \ pkg-config \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/src 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 \ && cd libpostal \
&& ./bootstrap.sh \ && ./bootstrap.sh \
&& ./configure --datadir=/usr/local/share \ && ./configure --datadir=/usr/local/share \