зеркало из https://github.com/github/vitess-gh.git
Merge pull request #2103 from michael-berlin/go17
Bump minimum Go version from 1.5 to 1.7.
This commit is contained in:
Коммит
b64d412cc6
|
@ -2,7 +2,7 @@
|
|||
sudo: false
|
||||
language: go
|
||||
go:
|
||||
- 1.5
|
||||
- 1.7
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
|
|
|
@ -73,7 +73,7 @@ OS X 10.11 (El Capitan) should work as well, the installation instructions are b
|
|||
|
||||
In addition, Vitess requires the software and libraries listed below.
|
||||
|
||||
1. [Install Go 1.5+](http://golang.org/doc/install).
|
||||
1. [Install Go 1.7+](http://golang.org/doc/install).
|
||||
|
||||
2. Install [MariaDB 10.0](https://downloads.mariadb.org/) or
|
||||
[MySQL 5.6](http://dev.mysql.com/downloads/mysql). You can use any
|
||||
|
|
|
@ -9,13 +9,13 @@ The `kubectl` steps will apply to any Kubernetes cluster.
|
|||
|
||||
## Prerequisites
|
||||
|
||||
To complete the exercise in this guide, you must locally install Go 1.5+,
|
||||
To complete the exercise in this guide, you must locally install Go 1.7+,
|
||||
Vitess' `vtctlclient` tool, and Google Cloud SDK. The
|
||||
following sections explain how to set these up in your environment.
|
||||
|
||||
### Install Go 1.5+
|
||||
### Install Go 1.7+
|
||||
|
||||
You need to install [Go 1.5+](http://golang.org/doc/install) to build the
|
||||
You need to install [Go 1.7+](http://golang.org/doc/install) to build the
|
||||
`vtctlclient` tool, which issues commands to Vitess.
|
||||
|
||||
After installing Go, make sure your `GOPATH` environment
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.5
|
||||
FROM golang:1.7
|
||||
|
||||
# Install Vitess build dependencies
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
|
|
Загрузка…
Ссылка в новой задаче