Speed up git clone in docs Dockerfile

This commit is contained in:
Peter Dave Hello 2021-02-14 15:56:23 +08:00
parent 4bd7b6c4ea
commit d0e4a82de8

View File

@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -y \
&& pip3 install libtmux curl requests mitmproxy && pip3 install libtmux curl requests mitmproxy
# install latest tmux (to support popups) # install latest tmux (to support popups)
RUN git clone https://github.com/tmux/tmux.git \ RUN git clone --depth 1 https://github.com/tmux/tmux.git \
&& cd tmux \ && cd tmux \
&& sh autogen.sh \ && sh autogen.sh \
&& ./configure && make && make install && ./configure && make && make install