Skip to content

Commit

Permalink
fix:GOPROXY var (#488)
Browse files Browse the repository at this point in the history
Signed-off-by: lengrongfu <lengrongfu@meituan.com>

Co-authored-by: lengrongfu <lengrongfu@meituan.com>
  • Loading branch information
lengrongfu and lengrongfu authored Jul 26, 2021
1 parent c0e41ea commit fea504f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GOPROXY=${GOPROXY:-}
curDir=$(cd "$(dirname "$0")" && pwd)
IMAGES_DIR="build/images"
cd "${curDir}/../" || return
GOPROXY=${GOPROXY:-`go env GOPROXY`}

docker-build::build-cdn() {
docker build --build-arg GOPROXY="${GOPROXY}" -t "${D7Y_REGISTRY}"/cdn:"${D7Y_VERSION}" -f "${IMAGES_DIR}/cdn/Dockerfile" .
Expand Down

0 comments on commit fea504f

Please sign in to comment.