diff --git a/Dockerfile b/Dockerfile index 90034f2..fb51513 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN echo "安装基础工具与配置文件" && \ echo "安装 node 环境" && \ # apt-get install -y npm && \ # 安装 brew 管理器 - git clone https://mirrors.aliyun.com/homebrew/install.git brew-install && \ + git clone --depth=1 https://mirrors.aliyun.com/homebrew/install.git brew-install && \ /bin/bash brew-install/install.sh && \ rm -rf brew-install && \ echo 'export HOMEBREW_API_DOMAIN="https://mirrors.aliyun.com/homebrew-bottles/api"' >> ~/.bash_profile && \