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:
parent
0266a7ec35
commit
a2d356dd3c
@ -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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user