mirror of https://github.com/goproxyio/goproxy
2dfa76928d | ||
---|---|---|
.circleci | ||
module | ||
scripts | ||
semver | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
circle-test.sh | ||
docker-compose.yaml | ||
go.mod | ||
main.go | ||
response.go |
README.md
GOPROXY
A global proxy for go modules. see: https://goproxy.io
Build
go build
Started
./goproxy -listen=0.0.0.0:80
Docker
docker run -it goproxyio/goproxy
Use the -v flag to persisting the proxy module data (change go_repo to your own dir):
docker run -it -v go_repo:/go/pkg/mod/cache/download goproxyio/goproxy
Docker Compose
docker-compose up