2024-07-06 11:56:51 +08:00

10 lines
213 B
Bash

set -ex
cat /scripts/certs/certificate.crt >> /etc/ssl/certs/ca-certificates.crt
go env -w GOPROXY=https://goproxy.local.homeinfra.org,direct
go clean -modcache
go mod init test
go get golang.org/x/sys@v0.22.0