Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 5e5ee77

Browse files
authored
chore(rootfs/Dockerfile): update Go toolchain to v1.18.7 (#337)
See https://golang.org/doc/devel/release#go1.18.minor
1 parent b102399 commit 5e5ee77

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

rootfs/Dockerfile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV ANSIBLE_VERSION=5.9.0 \
77
AZCLI_VERSION=2.33.1 \
88
DOCKER_VERSION=20.10.2 \
99
ETCDCTL_VERSION=v3.1.8 \
10-
GO_VERSION=1.17.13 \
10+
GO_VERSION=1.18.7 \
1111
GOLANGCI_LINT_VERSION=v1.45.2 \
1212
GOSS_VERSION=v0.3.16 \
1313
HELM_VERSION=3.6.2 \
@@ -86,16 +86,15 @@ RUN \
8686
&& tar -C /tmp -xvzf /tmp/etcd-${ETCDCTL_VERSION}.tar.gz --strip-components=1 etcd-${ETCDCTL_VERSION}-linux-amd64/etcdctl \
8787
&& mv /tmp/etcdctl /usr/local/bin/etcdctl \
8888
&& rm /tmp/etcd-${ETCDCTL_VERSION}.tar.gz \
89-
&& go get -u -v \
90-
github.com/AlekSi/gocov-xml \
91-
github.com/axw/gocov/gocov \
92-
github.com/dgrijalva/jwt-go/cmd/jwt \
93-
github.com/golang/protobuf/protoc-gen-go \
94-
github.com/haya14busa/goverage \
95-
github.com/jteeuwen/go-bindata/... \
96-
github.com/mitchellh/gox \
97-
github.com/onsi/ginkgo/ginkgo \
89+
&& go install -v github.com/AlekSi/gocov-xml@latest \
90+
&& go install -v github.com/axw/gocov/gocov@latest \
91+
&& go install -v github.com/dgrijalva/jwt-go/cmd/jwt@latest \
92+
&& go install -v github.com/go-bindata/go-bindata/[email protected] \
9893
&& go install -v github.com/go-delve/delve/cmd/[email protected] \
94+
&& go install -v github.com/golang/protobuf/protoc-gen-go@latest \
95+
&& go install -v github.com/haya14busa/goverage@latest \
96+
&& go install -v github.com/mitchellh/gox@latest \
97+
&& go install -v github.com/onsi/ginkgo/[email protected] \
9998
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ${GOPATH}/bin ${GOLANGCI_LINT_VERSION} \
10099
&& curl -sSL https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz \
101100
| tar -vxJ -C /usr/local/bin --strip=1 \

0 commit comments

Comments
 (0)