Skip to content

Commit

Permalink
chore: update Dockerfiles to optimize Go module configuration
Browse files Browse the repository at this point in the history
- Comment out the GOPROXY environment variable in both Dockerfiles
- Maintain GO111MODULE environment variable settings in both files

Signed-off-by: ysicing <i@ysicing.me>
  • Loading branch information
ysicing committed Mar 10, 2025
1 parent c2bbee9 commit b422b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion god/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN go install github.com/mitchellh/gox@latest

FROM golang:1-bookworm

ENV GOPROXY=https://goproxy.cn,direct
# ENV GOPROXY=https://goproxy.cn,direct

ENV GO111MODULE=on

Expand Down
2 changes: 1 addition & 1 deletion gods/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1-bookworm

ENV GOPROXY=https://goproxy.cn,direct
# ENV GOPROXY=https://goproxy.cn,direct

ENV GO111MODULE=on

Expand Down

0 comments on commit b422b88

Please sign in to comment.