File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
363363 libexpat-dev libncurses-dev && \
364364
365365 # Install the Linuxbrew
366- git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
366+ git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
367367
368368 echo "" >> ~/.bashrc && \
369369 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 && \
Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
380380 libexpat-dev libncurses-dev && \
381381
382382 # Install the Linuxbrew
383- git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
383+ git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
384384
385385 echo "" >> ~/.bashrc && \
386386 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 && \
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ RUN if [ ${INSTALL_LINUXBREW} = true ]; then \
376376 libexpat-dev libncurses-dev && \
377377
378378 # Install the Linuxbrew
379- git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
379+ git clone --depth=1 https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew && \
380380
381381 echo "" >> ~/.bashrc && \
382382 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 && \
You can’t perform that action at this time.
0 commit comments