This commit is contained in:
parent
7b86bc2316
commit
5f32075c75
|
|
@ -36,7 +36,7 @@ fi
|
||||||
# 4. 构建镜像
|
# 4. 构建镜像
|
||||||
echo "🔧 开始构建镜像:$IMAGE_NAME"
|
echo "🔧 开始构建镜像:$IMAGE_NAME"
|
||||||
if [ -n "$PROXY" ]; then
|
if [ -n "$PROXY" ]; then
|
||||||
docker build \
|
docker build --no-cache \
|
||||||
--build-arg http_proxy="$PROXY" \
|
--build-arg http_proxy="$PROXY" \
|
||||||
--build-arg https_proxy="$PROXY" \
|
--build-arg https_proxy="$PROXY" \
|
||||||
--network=host \
|
--network=host \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue