Skip to content

Update to node 8.1.0 #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ env:
matrix :
- NODE_VERSION: '4.8'
- NODE_VERSION: '6.11'
- NODE_VERSION: '8.0'
- NODE_VERSION: '8.1'
2 changes: 1 addition & 1 deletion 8.0/Dockerfile → 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/alpine/Dockerfile → 8.1/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/onbuild/Dockerfile → 8.1/onbuild/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:8.0.0
FROM node:8.1.0

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion 8.0/slim/Dockerfile → 8.1/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/wheezy/Dockerfile → 8.1/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
10 changes: 5 additions & 5 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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}"
Expand All @@ -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-/}" )
Expand Down