Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -31,11 +31,6 @@ _install_rootlesskit() ( |
| 31 | 31 |
cd "$GOPATH/src/github.com/rootless-containers/rootlesskit" || exit 1 |
| 32 | 32 |
git checkout -q "$ROOTLESSKIT_COMMIT" |
| 33 | 33 |
export GO111MODULE=on |
| 34 |
- # TODO remove GOPROXY override once we updated to Go 1.14+ |
|
| 35 |
- # Using goproxy instead of "direct" to work around an issue in go mod |
|
| 36 |
- # on Go 1.13 not working with older git versions (default version on |
|
| 37 |
- # CentOS 7 is git 1.8), see https://github.com/golang/go/issues/38373 |
|
| 38 |
- export GOPROXY="https://proxy.golang.org" |
|
| 39 | 34 |
for f in rootlesskit rootlesskit-docker-proxy; do |
| 40 | 35 |
go build $BUILD_MODE -ldflags="$ROOTLESSKIT_LDFLAGS" -o "${PREFIX}/$f" github.com/rootless-containers/rootlesskit/cmd/$f
|
| 41 | 36 |
done |