Update to next version of Go with security fixes
parent
76f5a65938
commit
b3deccb187
|
@ -69,7 +69,7 @@ second to sign our CLA, which can be found
|
|||
|
||||
Installing Go
|
||||
-------------
|
||||
InfluxDB requires Go 1.8.3
|
||||
InfluxDB requires Go 1.8.4.
|
||||
|
||||
At InfluxDB we find gvm, a Go version manager, useful for installing Go. For instructions
|
||||
on how to install it see [the gvm page on github](https://github.com/moovweb/gvm).
|
||||
|
@ -77,8 +77,8 @@ on how to install it see [the gvm page on github](https://github.com/moovweb/gvm
|
|||
After installing gvm you can install and set the default go version by
|
||||
running the following:
|
||||
|
||||
gvm install go1.8.3
|
||||
gvm use go1.8.3 --default
|
||||
gvm install go1.8.4
|
||||
gvm use go1.8.4 --default
|
||||
|
||||
Installing GDM
|
||||
-------------
|
||||
|
@ -194,7 +194,7 @@ go generate ./...
|
|||
**Troubleshooting**
|
||||
|
||||
If generating the protobuf code is failing for you, check each of the following:
|
||||
* Ensure the protobuf library can be found. Make sure that `LD_LIBRRARY_PATH` includes the directory in which the library `libprotoc.so` has been installed.
|
||||
* Ensure the protobuf library can be found. Make sure that `LD_LIBRARY_PATH` includes the directory in which the library `libprotoc.so` has been installed.
|
||||
* Ensure the command `protoc-gen-gogo`, found in `GOPATH/bin`, is on your path. This can be done by adding `GOPATH/bin` to `PATH`.
|
||||
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN gem install fpm
|
|||
|
||||
# Install go
|
||||
ENV GOPATH /root/go
|
||||
ENV GO_VERSION 1.8.3
|
||||
ENV GO_VERSION 1.8.4
|
||||
ENV GO_ARCH 386
|
||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
||||
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||
|
|
|
@ -21,7 +21,7 @@ RUN gem install fpm
|
|||
|
||||
# Install go
|
||||
ENV GOPATH /root/go
|
||||
ENV GO_VERSION 1.8.3
|
||||
ENV GO_VERSION 1.8.4
|
||||
ENV GO_ARCH amd64
|
||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
||||
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||
|
|
|
@ -26,7 +26,7 @@ VOLUME $PROJECT_DIR
|
|||
|
||||
|
||||
# Install go
|
||||
ENV GO_VERSION 1.8.3
|
||||
ENV GO_VERSION 1.8.4
|
||||
ENV GO_ARCH amd64
|
||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
||||
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||
|
|
|
@ -21,7 +21,7 @@ RUN gem install fpm
|
|||
|
||||
# Install go
|
||||
ENV GOPATH /root/go
|
||||
ENV GO_VERSION 1.9beta2
|
||||
ENV GO_VERSION 1.9.1
|
||||
ENV GO_ARCH amd64
|
||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
||||
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||
|
|
|
@ -2,7 +2,7 @@ machine:
|
|||
services:
|
||||
- docker
|
||||
environment:
|
||||
GODIST: "go1.8.3.linux-amd64.tar.gz"
|
||||
GODIST: "go1.8.4.linux-amd64.tar.gz"
|
||||
post:
|
||||
- mkdir -p download
|
||||
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# These are the current and "next" Go versions used to build influxdb.
|
||||
# This file is meant to be sourced from other scripts.
|
||||
|
||||
export GO_CURRENT_VERSION=1.8.3
|
||||
export GO_NEXT_VERSION=1.9
|
||||
export GO_CURRENT_VERSION=1.8.4
|
||||
export GO_NEXT_VERSION=1.9.1
|
||||
|
|
Loading…
Reference in New Issue