From 52b088dfcf23f1e69813b34f9eed56333242dee9 Mon Sep 17 00:00:00 2001 From: mol Date: Sat, 24 Feb 2024 15:23:35 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && \