Skip to content

Commit

Permalink
set GOPROXY=direct in dockerfile-ack
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbeeSo committed Dec 30, 2024
1 parent 997fd57 commit 231ca4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-ack
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY . /go/src/github.com/vmware-tanzu/velero
WORKDIR /go/src/github.com/vmware-tanzu/velero

RUN mkdir -p /output/bin
RUN env GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/') CGO_ENABLED=0 GO111MODULE=on GOPROXY=proxy.golang.com.cn,direct \
RUN env GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/') CGO_ENABLED=0 GO111MODULE=on GOPROXY=direct \
go build -o /output/bin ./cmd/velero


Expand Down

0 comments on commit 231ca4b

Please sign in to comment.