Skip to content

Commit

Permalink
Add arg of GOPROXY in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jiangnan Jia <jnan0806@gmail.com>
  • Loading branch information
jnan806 committed Nov 25, 2022
1 parent d8c0de1 commit 4081a14
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

FROM golang:1.16.6-alpine3.14 AS builder

LABEL maintainer="Jiangnan Jia <jnan0806@gmail.com>" \
orgnization="OpenSergo" \
officialURL="https://www.opensergo.io" \
sourceURl="https://github.com/opensergo/opensergo-control-plane"
LABEL maintainer="OpenSergo Maintainers" \
website="https://www.opensergo.io" \
source="https://github.com/opensergo/opensergo-control-plane"

# if you are in China, you can open the follow line to set the GOPROXY.
#ARG GOPROXY=https://goproxy.cn,direct
# goproxy
## if you are in China, in your build command, you can set arg `GOPROXY` like `https://goproxy.cn,direct`
ARG GOPROXY=https://proxy.golang.org,direct

# define work dir
WORKDIR /opensergo/src
Expand Down

0 comments on commit 4081a14

Please sign in to comment.