mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +07:00
upgrade to go 1.12.6
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ KIND_BINARY_NAME?=kind
|
|||||||
# use the official module proxy by default
|
# use the official module proxy by default
|
||||||
GOPROXY?=https://proxy.golang.org
|
GOPROXY?=https://proxy.golang.org
|
||||||
# default build image
|
# default build image
|
||||||
GO_VERSION?=1.12.5
|
GO_VERSION?=1.12.6
|
||||||
GO_IMAGE?=golang:$(GO_VERSION)
|
GO_IMAGE?=golang:$(GO_VERSION)
|
||||||
# docker volume name, used as a go module / build cache
|
# docker volume name, used as a go module / build cache
|
||||||
CACHE_VOLUME?=kind-build-cache
|
CACHE_VOLUME?=kind-build-cache
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ kind bootstraps each "node" with [kubeadm][kubeadm]. For more details see [the d
|
|||||||
|
|
||||||
You can install kind with `GO111MODULE="on" go get sigs.k8s.io/kind@v0.3.0`.
|
You can install kind with `GO111MODULE="on" go get sigs.k8s.io/kind@v0.3.0`.
|
||||||
|
|
||||||
**NOTE**: please use the latest go to do this, ideally go 1.12.5 or greater.
|
**NOTE**: please use the latest go to do this, ideally go 1.12.6 or greater.
|
||||||
|
|
||||||
This will put `kind` in `$(go env GOPATH)/bin`. If you encounter the error
|
This will put `kind` in `$(go env GOPATH)/bin`. If you encounter the error
|
||||||
`kind: command not found` after installation then you may need to either add that directory to your `$PATH` as
|
`kind: command not found` after installation then you may need to either add that directory to your `$PATH` as
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
ARG GOARCH="amd64"
|
ARG GOARCH="amd64"
|
||||||
# STEP 1: Build kindnetd binary
|
# STEP 1: Build kindnetd binary
|
||||||
FROM golang:1.12.5 AS builder
|
FROM golang:1.12.6 AS builder
|
||||||
# golang envs
|
# golang envs
|
||||||
ARG GOARCH
|
ARG GOARCH
|
||||||
ARG GOOS=linux
|
ARG GOOS=linux
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ You can check if Go is in your system with the following command:
|
|||||||
go version
|
go version
|
||||||
```
|
```
|
||||||
|
|
||||||
Preferably Go `1.12.5` or greater should be installed.
|
Preferably Go `1.12.6` or greater should be installed.
|
||||||
|
|
||||||
Correct automatic formatting of the source with `gofmt` requires at least
|
Correct automatic formatting of the source with `gofmt` requires at least
|
||||||
`1.11.0`.
|
`1.11.0`.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ This guide covers getting started with the `kind` command.
|
|||||||
You can either install kind with `GO111MODULE="on" go get sigs.k8s.io/kind@v0.3.0` or clone this repo
|
You can either install kind with `GO111MODULE="on" go get sigs.k8s.io/kind@v0.3.0` or clone this repo
|
||||||
and run `make build` from the repository.
|
and run `make build` from the repository.
|
||||||
|
|
||||||
**NOTE**: please use the latest go to do this, ideally go 1.12.5 or greater.
|
**NOTE**: please use the latest go to do this, ideally go 1.12.6 or greater.
|
||||||
|
|
||||||
This will put `kind` in `$(go env GOPATH)/bin`. You may need to add that directory to your `$PATH` as
|
This will put `kind` in `$(go env GOPATH)/bin`. You may need to add that directory to your `$PATH` as
|
||||||
shown [here](https://golang.org/doc/code.html#GOPATH) if you encounter the error
|
shown [here](https://golang.org/doc/code.html#GOPATH) if you encounter the error
|
||||||
|
|||||||
Reference in New Issue
Block a user