fix: Dockerfile 中 RUN yum 前加 set -e,安装失败即中断构建

This commit is contained in:
2026-02-07 21:02:09 +08:00
parent b7bff79432
commit 5aa2b62299
11 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ WORKDIR /home/admin
# https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz
# 由 build.sh 预先下载到本目录
ADD Python-3.10.0.tgz ./
RUN yum install \
RUN set -e && yum install \
libffi-devel \
zlib-devel \
bzip2-devel \