Skip to content

Commit 2d25903

Browse files
committed
Add arg of GOPROXY in Dockerfile
Signed-off-by: Jiangnan Jia <[email protected]>
1 parent d8c0de1 commit 2d25903

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
FROM golang:1.16.6-alpine3.14 AS builder
1616

17-
LABEL maintainer="Jiangnan Jia <[email protected]>" \
18-
orgnization="OpenSergo" \
19-
officialURL="https://www.opensergo.io" \
20-
sourceURl="https://github.com/opensergo/opensergo-control-plane"
17+
LABEL maintainer="OpenSergo Maintainers" \
18+
website="https://www.opensergo.io" \
19+
source="https://github.com/opensergo/opensergo-control-plane"
2120

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

2525
# define work dir
2626
WORKDIR /opensergo/src

0 commit comments

Comments
 (0)