diff --git a/README.md b/README.md index bb28557889..e78ccc6cc1 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ docker pull quay.io/influxdb/chronograf:latest ### From Source -* Chronograf works with go 1.7.x, 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) diff --git a/etc/Dockerfile_build b/etc/Dockerfile_build index 99a5cda006..72d8daa23b 100644 --- a/etc/Dockerfile_build +++ b/etc/Dockerfile_build @@ -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 \ diff --git a/etc/README.md b/etc/README.md new file mode 100644 index 0000000000..1f4f9d013a --- /dev/null +++ b/etc/README.md @@ -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")`