Skip to content

Commit

Permalink
fix(installer): fix provider res docker config wrong place (#1794)
Browse files Browse the repository at this point in the history
  • Loading branch information
wl-chen authored Mar 15, 2022
1 parent ad2c07f commit 531ecf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/docker/tools/provider-res/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 531ecf2

Please sign in to comment.