diff --git a/scripts/docker/arch.sh b/scripts/docker/arch.sh index 94d0acd4b..33ab66027 100755 --- a/scripts/docker/arch.sh +++ b/scripts/docker/arch.sh @@ -9,7 +9,7 @@ if [[ -z $1 ]] || [[ -z $2 ]]; then fi NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} if [[ $1 ]] && [[ $2 ]] && [[ -z $3 ]]; then echo "Building 'photoprism/$1:preview'..." diff --git a/scripts/docker/build.sh b/scripts/docker/build.sh index 762e4fba7..5cadc36e9 100755 --- a/scripts/docker/build.sh +++ b/scripts/docker/build.sh @@ -6,7 +6,7 @@ set -e export DOCKER_BUILDKIT=1 NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} if [[ -z $1 ]] && [[ -z $2 ]]; then echo "Please provide a container image name and version" 1>&2 diff --git a/scripts/docker/multiarch.sh b/scripts/docker/multiarch.sh index f992aac66..89fdc614d 100755 --- a/scripts/docker/multiarch.sh +++ b/scripts/docker/multiarch.sh @@ -9,7 +9,7 @@ if [[ -z $1 ]] || [[ -z $2 ]]; then fi NUMERIC='^[0-9]+$' -GOPROXY=${GOPROXY:-'https://goproxy.io,direct'} +GOPROXY=${GOPROXY:-'https://proxy.golang.org,direct'} # Kill old multibuilder if still alive. echo "Removing existing multibuilder..."