🔄 卡若AI 同步 2026-02-22 10:37 | 更新:金仓、运营中枢工作台 | 排除 >20MB: 8 个

This commit is contained in:
2026-02-22 10:37:35 +08:00
parent 8f801ce3fd
commit 824cef5d31
3 changed files with 5 additions and 1 deletions

View File

@@ -46,11 +46,13 @@ cp -a "$SRC" "$DIR/www"
# 4. 预拉取镜像失败不退出compose 会再次尝试)
echo ">>> 4. 拉取 PHP 镜像..."
set +e
for i in 1 2 3; do
if docker pull php:7.4-apache 2>/dev/null; then break; fi
if docker pull php:7.4-apache; then break; fi
echo "$i 次拉取失败15s 后重试..."
sleep 15
done
set -e
# 5. 构建并启动
echo ">>> 5. 构建并启动..."