Skip to content

Commit 462b265

Browse files
authored
Merge pull request #1062 from thaJeztah/fix_gotoolchain_env
[master] rpm: fix missing GOTOOLCHAIN=local in centos, rhel Dockerfiles
2 parents ec2c0b6 + dc175c0 commit 462b265

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

rpm/centos-9/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ FROM ${BUILD_IMAGE}
1111
ENV GOPROXY=https://proxy.golang.org|direct
1212
ENV GO111MODULE=off
1313
ENV GOPATH=/go
14+
ENV GOTOOLCHAIN=local
1415
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
1516
ENV AUTO_GOPATH 1
1617
ENV DOCKER_BUILDTAGS exclude_graphdriver_btrfs

rpm/rhel-8/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ FROM subscribed-image
2828
ENV GOPROXY=https://proxy.golang.org|direct
2929
ENV GO111MODULE=off
3030
ENV GOPATH=/go
31+
ENV GOTOOLCHAIN=local
3132
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
3233
ENV AUTO_GOPATH 1
3334
ENV DOCKER_BUILDTAGS exclude_graphdriver_btrfs

rpm/rhel-9/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ FROM subscribed-image
2828
ENV GOPROXY=https://proxy.golang.org|direct
2929
ENV GO111MODULE=off
3030
ENV GOPATH=/go
31+
ENV GOTOOLCHAIN=local
3132
ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin
3233
ENV AUTO_GOPATH 1
3334
ENV DOCKER_BUILDTAGS exclude_graphdriver_btrfs

0 commit comments

Comments
 (0)