@@ -339,7 +339,7 @@ ENV PATH="${PATH}:${VCPKG_ROOT}"
339339
340340SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
341341RUN echo "VCPKG" && \
342- git clone --depth=1 \
342+ git clone --depth=1 --no-tags \
343343 -c core.eol=lf \
344344 -c core.autocrlf=false \
345345 -c fsck.zeroPaddedFilemode=ignore \
@@ -498,7 +498,7 @@ RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 && \
498498SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
499499RUN echo "MOLD" && \
500500 version="$(curl -s https://api.github.com/repos/rui314/mold/releases/latest | jq -r '.tag_name' | cut -c 2-)" ; echo "Latest Version: \" $version\" " && \
501- git clone --depth=1 -- branch "v$version" https://github.com/rui314/mold.git "/tmp/mold" && \
501+ git clone --branch "v$version" --single-branch --depth 1 --no-tags https://github.com/rui314/mold.git "/tmp/mold" && \
502502 cmake -S /tmp/mold -B /tmp/mold/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ && \
503503 cmake --build /tmp/mold/build -j "$(nproc)" && \
504504 cmake --install /tmp/mold/build --prefix=/opt/mold && \
@@ -637,9 +637,9 @@ RUN echo "ZSH" && \
637637 # Install Oh My Zsh
638638 curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh && \
639639 # Add Zsh plugins
640- git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \
641- git clone --depth=1 https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions && \
642- git clone --depth=1 https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search && \
640+ git clone --depth=1 --no-tags https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \
641+ git clone --depth=1 --no-tags https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions && \
642+ git clone --depth=1 --no-tags https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search && \
643643 # Update .zshrc
644644 sed -i "s/plugins=(git)/plugins=(git zsh-completions zsh-autosuggestions zsh-history-substring-search)/" /root/.zshrc && \
645645 sed -i "s/ZSH_THEME=\" agnoster\" /ZSH_THEME=\" robbyrussell\" /" /root/.zshrc && \
@@ -719,7 +719,7 @@ ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 \
719719# apt-get autoremove -y && \
720720# apt-get clean autoclean && \
721721# rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
722- # git clone --depth=1 https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git --branch $SPIRV_VERSION_TAG && \
722+ # git clone --branch $SPIRV_VERSION_TAG --single-branch -- depth=1 --no-tags https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git && \
723723# mkdir SPIRV-LLVM-Translator/build && \
724724# cd SPIRV-LLVM-Translator/build && \
725725# cmake .. -D BASE_LLVM_VERSION=$LLVM_VERSION && \
0 commit comments