Skip to content

Commit

Permalink
Dockerfile: remove GOPROXY override (was for go < 1.14)
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Sep 2, 2021
1 parent 3c7c18a commit 3cec4b8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hack/dockerfile/install/rootlesskit.installer
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ _install_rootlesskit() (
cd "$GOPATH/src/github.com/rootless-containers/rootlesskit" || exit 1
git checkout -q "$ROOTLESSKIT_COMMIT"
export GO111MODULE=on
# TODO remove GOPROXY override once we updated to Go 1.14+
# Using goproxy instead of "direct" to work around an issue in go mod
# on Go 1.13 not working with older git versions (default version on
# CentOS 7 is git 1.8), see https://github.com/golang/go/issues/38373
export GOPROXY="https://proxy.golang.org"
for f in rootlesskit rootlesskit-docker-proxy; do
go build $BUILD_MODE -ldflags="$ROOTLESSKIT_LDFLAGS" -o "${PREFIX}/$f" github.com/rootless-containers/rootlesskit/cmd/$f
done
Expand Down

0 comments on commit 3cec4b8

Please sign in to comment.