From d0e4a82de83601763cbc59c35a78c85af750de7f Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 14 Feb 2021 15:56:23 +0800 Subject: [PATCH] Speed up `git clone` in docs Dockerfile --- docs/scripts/clirecording/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripts/clirecording/Dockerfile b/docs/scripts/clirecording/Dockerfile index 5314add50..b0deca769 100644 --- a/docs/scripts/clirecording/Dockerfile +++ b/docs/scripts/clirecording/Dockerfile @@ -30,7 +30,7 @@ RUN apt-get update && apt-get install -y \ && pip3 install libtmux curl requests mitmproxy # 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 \ && sh autogen.sh \ && ./configure && make && make install