|
@@ -4,8 +4,8 @@ root="$(cd "$(dirname "$0")/../.." && pwd)"
|
|
|
export CONTAINERS_REGISTRIES_CONF="${CONTAINERS_REGISTRIES_CONF:-$root/tools/remote/registries-cn.conf}"
|
|
export CONTAINERS_REGISTRIES_CONF="${CONTAINERS_REGISTRIES_CONF:-$root/tools/remote/registries-cn.conf}"
|
|
|
pull_policy="${PROD2U_PULL_POLICY:-missing}"
|
|
pull_policy="${PROD2U_PULL_POLICY:-missing}"
|
|
|
exec podman build --pull="$pull_policy" \
|
|
exec podman build --pull="$pull_policy" \
|
|
|
- --build-arg DEBIAN_MIRROR="${DEBIAN_MIRROR:-http://mirrors.tuna.tsinghua.edu.cn/debian}" \
|
|
|
|
|
- --build-arg DEBIAN_SECURITY_MIRROR="${DEBIAN_SECURITY_MIRROR:-http://mirrors.tuna.tsinghua.edu.cn/debian-security}" \
|
|
|
|
|
|
|
+ --build-arg DEBIAN_MIRROR="${DEBIAN_MIRROR:-http://mirrors.aliyun.com/debian}" \
|
|
|
|
|
+ --build-arg DEBIAN_SECURITY_MIRROR="${DEBIAN_SECURITY_MIRROR:-http://mirrors.aliyun.com/debian-security}" \
|
|
|
--build-arg PYPI_INDEX_URL="${PYPI_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}" \
|
|
--build-arg PYPI_INDEX_URL="${PYPI_INDEX_URL:-https://pypi.tuna.tsinghua.edu.cn/simple}" \
|
|
|
-t localhost/prod2u-6400-dev:locked \
|
|
-t localhost/prod2u-6400-dev:locked \
|
|
|
-f "$root/containers/6400-dev/Containerfile" \
|
|
-f "$root/containers/6400-dev/Containerfile" \
|