From b49b927d48ed0701933b8f31a9157c576ddee861 Mon Sep 17 00:00:00 2001 From: wl-chen Date: Tue, 15 Mar 2022 17:55:55 +0800 Subject: [PATCH] fix(installer): fix provider res docker config wrong place --- build/docker/tools/provider-res/download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/docker/tools/provider-res/download.sh b/build/docker/tools/provider-res/download.sh index 3d060a672..80cfa68cf 100755 --- a/build/docker/tools/provider-res/download.sh +++ b/build/docker/tools/provider-res/download.sh @@ -134,7 +134,7 @@ function download::pkgs() { exit 1 fi docker_arch=${archMap[${arch}]} - docker pull --config=${DOCKER_PULL_CONFIG} --platform=${docker_arch} centos:7 + docker --config=${DOCKER_PULL_CONFIG} pull --platform=${docker_arch} centos:7 for pkg in ${PKGS}; do docker run --platform="${docker_arch}" -e OS="${os}" -e ARCH="${arch}" -e PKG="${pkg}" --rm -v"${SCRIPT_DIR}":/tmp/bin -v$(realpath $(pwd)):/output centos:7 /tmp/bin/run.sh done