From 4cb440504b44a757c42dc993a5804e96df41265b Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 4 May 2017 17:41:02 +0800 Subject: [PATCH] git clone only need one depth. --- workspace/Dockerfile-56 | 2 +- workspace/Dockerfile-70 | 2 +- workspace/Dockerfile-71 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 2632ff75..e537b737 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -363,7 +363,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \ libexpat-dev libncurses-dev && \ # Install the Linuxbrew - git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ + git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ echo "" >> ~/.bashrc && \ echo 'export PKG_CONFIG_PATH"=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc && \ diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index 49d36922..32ae4dca 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -380,7 +380,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \ libexpat-dev libncurses-dev && \ # Install the Linuxbrew - git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ + git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ echo "" >> ~/.bashrc && \ echo 'export PKG_CONFIG_PATH"=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc && \ diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 0ced70c9..1f6d9ac5 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -376,7 +376,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \ libexpat-dev libncurses-dev && \ # Install the Linuxbrew - git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ + git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \ echo "" >> ~/.bashrc && \ echo 'export PKG_CONFIG_PATH"=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:$PKG_CONFIG_PATH"' >> ~/.bashrc && \