fix: Dockerfile 中 RUN yum 前加 set -e,安装失败即中断构建
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user