diff --git a/.travis.yml b/.travis.yml index b83e956339..304fea2c81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ env: matrix : - NODE_VERSION: '4.8' - NODE_VERSION: '6.11' - - NODE_VERSION: '8.0' + - NODE_VERSION: '8.1' diff --git a/8.0/Dockerfile b/8.1/Dockerfile similarity index 99% rename from 8.0/Dockerfile rename to 8.1/Dockerfile index 71c66da9ca..8c40dc071d 100644 --- a/8.0/Dockerfile +++ b/8.1/Dockerfile @@ -21,7 +21,7 @@ RUN set -ex \ done ENV NPM_CONFIG_LOGLEVEL info -ENV NODE_VERSION 8.0.0 +ENV NODE_VERSION 8.1.0 RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \ && curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \ diff --git a/8.0/alpine/Dockerfile b/8.1/alpine/Dockerfile similarity index 99% rename from 8.0/alpine/Dockerfile rename to 8.1/alpine/Dockerfile index 33196456ae..e3c5d758b2 100644 --- a/8.0/alpine/Dockerfile +++ b/8.1/alpine/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.6 ENV NPM_CONFIG_LOGLEVEL info -ENV NODE_VERSION 8.0.0 +ENV NODE_VERSION 8.1.0 RUN addgroup -g 1000 node \ && adduser -u 1000 -G node -s /bin/sh -D node \ diff --git a/8.0/onbuild/Dockerfile b/8.1/onbuild/Dockerfile similarity index 93% rename from 8.0/onbuild/Dockerfile rename to 8.1/onbuild/Dockerfile index 678358facf..fa5d311bda 100644 --- a/8.0/onbuild/Dockerfile +++ b/8.1/onbuild/Dockerfile @@ -1,4 +1,4 @@ -FROM node:8.0.0 +FROM node:8.1.0 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/8.0/slim/Dockerfile b/8.1/slim/Dockerfile similarity index 99% rename from 8.0/slim/Dockerfile rename to 8.1/slim/Dockerfile index ed385d9b70..0e2c9dfd58 100644 --- a/8.0/slim/Dockerfile +++ b/8.1/slim/Dockerfile @@ -21,7 +21,7 @@ RUN set -ex \ done ENV NPM_CONFIG_LOGLEVEL info -ENV NODE_VERSION 8.0.0 +ENV NODE_VERSION 8.1.0 RUN buildDeps='xz-utils' \ && set -x \ diff --git a/8.0/wheezy/Dockerfile b/8.1/wheezy/Dockerfile similarity index 99% rename from 8.0/wheezy/Dockerfile rename to 8.1/wheezy/Dockerfile index 64c14d50ad..15058a2e24 100644 --- a/8.0/wheezy/Dockerfile +++ b/8.1/wheezy/Dockerfile @@ -21,7 +21,7 @@ RUN set -ex \ done ENV NPM_CONFIG_LOGLEVEL info -ENV NODE_VERSION 8.0.0 +ENV NODE_VERSION 8.1.0 RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \ && curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \ diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 108d3d8779..84688ffa6e 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -5,7 +5,7 @@ hash git 2>/dev/null || { echo >&2 "git not found, exiting."; } array_4_8='4 argon'; array_6_11='6 boron'; -array_8_0='8 latest'; +array_8_1='8 latest'; cd $(cd ${0%/*} && pwd -P); @@ -39,13 +39,13 @@ join() { for version in "${versions[@]}"; do # Skip "docs" and other non-docker directories [ -f "$version/Dockerfile" ] || continue - + eval stub=$(echo "$version" | awk -F. '{ print "$array_" $1 "_" $2 }'); commit="$(fileCommit "$version")" fullVersion="$(grep -m1 'ENV NODE_VERSION ' "$version/Dockerfile" | cut -d' ' -f3)" versionAliases=( $fullVersion $version ${stub} ) - + echo "Tags: $(join ', ' "${versionAliases[@]}")" echo "GitCommit: ${commit}" echo "Directory: ${version}" @@ -55,9 +55,9 @@ for version in "${versions[@]}"; do for variant in $variants; do # Skip non-docker directories [ -f "$version/$variant/Dockerfile" ] || continue - + commit="$(fileCommit "$version/$variant")" - + slash='/' variantAliases=( "${versionAliases[@]/%/-${variant//$slash/-}}" ) variantAliases=( "${variantAliases[@]//latest-/}" )