diff --git a/Dockerfile b/Dockerfile index 3d0c947..2192745 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN set -ex \ done ENV NPM_CONFIG_LOGLEVEL info -ENV NODE_VERSION 4.2.2 +ENV NODE_VERSION 6.9.2 RUN \ cd /tmp && \ diff --git a/README.md b/README.md index ac06e08..00bb2b4 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Dockerfile that generates an image for people who use [Node.js](http://nodejs.or ## Build image - $ docker build -t=ruby-nodejs:4.2.2 . + $ docker build -t=ruby-nodejs:6.9.2 . ## What's included @@ -18,7 +18,7 @@ Dockerfile that generates an image for people who use [Node.js](http://nodejs.or ## Pull image - $ docker pull shawnzhu/ruby-nodejs:4.2.2 + $ docker pull shawnzhu/ruby-nodejs:6.9.2 ## Testing diff --git a/circle.yml b/circle.yml index 0305ac7..8552834 100644 --- a/circle.yml +++ b/circle.yml @@ -4,7 +4,7 @@ machine: dependencies: override: - docker info - - docker build -t shawnzhu/ruby-nodejs:4.2.2 . + - docker build -t shawnzhu/ruby-nodejs:6.9.2 . test: override: - - node_version=$(docker run --rm shawnzhu/ruby-nodejs:4.2.2 node -v); [[ $node_version == "v4.2.2" ]] + - node_version=$(docker run --rm shawnzhu/ruby-nodejs:6.9.2 node -v); [[ $node_version == "v6.9.2" ]] diff --git a/spec/dockerfile_spec.rb b/spec/dockerfile_spec.rb index 4710277..82048b6 100644 --- a/spec/dockerfile_spec.rb +++ b/spec/dockerfile_spec.rb @@ -21,11 +21,11 @@ end describe command('node -v') do - its(:stdout) { should match /4\.2\.2/ } + its(:stdout) { should match /6\.9\.2/ } end describe command('npm -v') do - its(:stdout) { should match /2\.\d{1,2}\.\d{1,2}/ } + its(:stdout) { should match /3\.\d{1,2}\.\d{1,2}/ } end def os_version