commit
7a8d55c531
|
@ -58,8 +58,8 @@ After installing gvm you can install and set the default go version by
|
|||
running the following:
|
||||
|
||||
```bash
|
||||
gvm install go1.7.4
|
||||
gvm use go1.7.4 --default
|
||||
gvm install go1.7.5
|
||||
gvm use go1.7.5 --default
|
||||
```
|
||||
|
||||
Installing GDM
|
||||
|
|
|
@ -113,7 +113,7 @@ docker pull quay.io/influxdb/chronograf:latest
|
|||
|
||||
### From Source
|
||||
|
||||
* Chronograf works with go 1.7.4, npm 3.10.7 and node v6.6.0. Additional version support of these projects will be implemented soon, but these are the only supported versions to date.
|
||||
* Chronograf works with go 1.7.x, node 6.x/7.x, and npm 3.x.
|
||||
* Chronograf requires [Kapacitor](https://github.com/influxdata/kapacitor) 1.1.x to create and store alerts.
|
||||
|
||||
1. [Install Go](https://golang.org/doc/install)
|
||||
|
|
|
@ -26,7 +26,7 @@ deployment:
|
|||
--package
|
||||
--platform all
|
||||
--arch all
|
||||
--upload
|
||||
--upload-overwrite
|
||||
- sudo chown -R ubuntu:ubuntu /home/ubuntu
|
||||
- cp build/linux/static_amd64/chronograf .
|
||||
- docker build -t chronograf .
|
||||
|
@ -46,7 +46,7 @@ deployment:
|
|||
--package
|
||||
--platform all
|
||||
--arch all
|
||||
--upload
|
||||
--upload-overwrite
|
||||
--bucket dl.influxdata.com/chronograf/releases
|
||||
- sudo chown -R ubuntu:ubuntu /home/ubuntu
|
||||
- cp build/linux/static_amd64/chronograf .
|
||||
|
@ -67,7 +67,7 @@ deployment:
|
|||
--package
|
||||
--platform all
|
||||
--arch all
|
||||
--upload
|
||||
--upload-overwrite
|
||||
--bucket dl.influxdata.com/chronograf/releases
|
||||
- sudo chown -R ubuntu:ubuntu /home/ubuntu
|
||||
- cp build/linux/static_amd64/chronograf .
|
||||
|
|
|
@ -16,9 +16,9 @@ RUN pip install boto requests python-jose --upgrade
|
|||
RUN gem install fpm
|
||||
|
||||
# Install node
|
||||
RUN wget -q https://nodejs.org/dist/latest-v6.x/node-v6.9.1-linux-x64.tar.gz; \
|
||||
tar -xvf node-v6.9.1-linux-x64.tar.gz -C / --strip-components=1; \
|
||||
rm -f node-v6.9.1-linux-x64.tar.gz
|
||||
RUN wget -q https://nodejs.org/dist/latest-v6.x/node-v6.9.4-linux-x64.tar.gz; \
|
||||
tar -xvf node-v6.9.4-linux-x64.tar.gz -C / --strip-components=1; \
|
||||
rm -f node-v6.9.4-linux-x64.tar.gz
|
||||
|
||||
# Update npm
|
||||
RUN cd $(npm root -g)/npm \
|
||||
|
@ -28,7 +28,7 @@ RUN npm install npm -g
|
|||
|
||||
# Install go
|
||||
ENV GOPATH /root/go
|
||||
ENV GO_VERSION 1.7.4
|
||||
ENV GO_VERSION 1.7.5
|
||||
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 ; \
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
## Builds
|
||||
|
||||
Builds are run from a docker build image that is configured with the node and go we support.
|
||||
Our circle.yml uses this docker container to build, test and create release packages.
|
||||
|
||||
### Updating new node/go versions
|
||||
After updating the Dockerfile_build run
|
||||
|
||||
`docker build -t quay.io/influxdb/builder:chronograf-$(date "+%Y%m%d") -f Dockerfile_build`
|
||||
|
||||
and push to quay with:
|
||||
`docker push quay.io/influxdb/builder:chronograf-$(date "+%Y%m%d")`
|
Loading…
Reference in New Issue