commit
a40ef53b49
|
@ -69,7 +69,7 @@ second to sign our CLA, which can be found
|
||||||
|
|
||||||
Installing Go
|
Installing Go
|
||||||
-------------
|
-------------
|
||||||
InfluxDB requires Go 1.8.1
|
InfluxDB requires Go 1.8.3
|
||||||
|
|
||||||
At InfluxDB we find gvm, a Go version manager, useful for installing Go. For instructions
|
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).
|
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
|
After installing gvm you can install and set the default go version by
|
||||||
running the following:
|
running the following:
|
||||||
|
|
||||||
gvm install go1.8.1
|
gvm install go1.8.3
|
||||||
gvm use go1.8.1 --default
|
gvm use go1.8.3 --default
|
||||||
|
|
||||||
Installing GDM
|
Installing GDM
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -18,7 +18,7 @@ RUN gem install fpm
|
||||||
|
|
||||||
# Install go
|
# Install go
|
||||||
ENV GOPATH /root/go
|
ENV GOPATH /root/go
|
||||||
ENV GO_VERSION 1.8.1
|
ENV GO_VERSION 1.8.3
|
||||||
ENV GO_ARCH 386
|
ENV GO_ARCH 386
|
||||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
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 ; \
|
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||||
|
|
|
@ -21,7 +21,7 @@ RUN gem install fpm
|
||||||
|
|
||||||
# Install go
|
# Install go
|
||||||
ENV GOPATH /root/go
|
ENV GOPATH /root/go
|
||||||
ENV GO_VERSION 1.8.1
|
ENV GO_VERSION 1.8.3
|
||||||
ENV GO_ARCH amd64
|
ENV GO_ARCH amd64
|
||||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
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 ; \
|
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||||
|
|
|
@ -26,7 +26,7 @@ VOLUME $PROJECT_DIR
|
||||||
|
|
||||||
|
|
||||||
# Install go
|
# Install go
|
||||||
ENV GO_VERSION 1.8.1
|
ENV GO_VERSION 1.8.3
|
||||||
ENV GO_ARCH amd64
|
ENV GO_ARCH amd64
|
||||||
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz; \
|
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 ; \
|
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz ; \
|
||||||
|
|
|
@ -2,7 +2,7 @@ machine:
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
environment:
|
environment:
|
||||||
GODIST: "go1.8.1.linux-amd64.tar.gz"
|
GODIST: "go1.8.3.linux-amd64.tar.gz"
|
||||||
post:
|
post:
|
||||||
- mkdir -p download
|
- mkdir -p download
|
||||||
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST
|
||||||
|
|
Loading…
Reference in New Issue