Skip to content
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
6 changes: 1 addition & 5 deletions 0.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM buildpack-deps

RUN apt-get update && apt-get install -y \
ca-certificates \
curl
FROM buildpack-deps:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.31/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand Down
18 changes: 7 additions & 11 deletions 0.10/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
FROM debian:wheezy

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
build-essential \
pkg-config \
git \
python \
&& rm -rf /var/lib/apt/lists/*
FROM debian:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.31/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand All @@ -17,12 +8,17 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7937DFD2AB06298B2293C318
ENV NODE_VERSION 0.10.35
ENV NPM_VERSION 2.2.0

RUN curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
RUN buildDeps='curl' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
&& gpg --verify SHASUMS256.txt.asc \
&& grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
&& apt-get purge -y --auto-remove $buildDeps \
&& npm install -g npm@"$NPM_VERSION" \
&& npm cache clear

Expand Down
6 changes: 1 addition & 5 deletions 0.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM buildpack-deps

RUN apt-get update && apt-get install -y \
ca-certificates \
curl
FROM buildpack-deps:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand Down
18 changes: 7 additions & 11 deletions 0.11/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
FROM debian:wheezy

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
build-essential \
pkg-config \
git \
python \
&& rm -rf /var/lib/apt/lists/*
FROM debian:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand All @@ -17,12 +8,17 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7937DFD2AB06298B2293C318
ENV NODE_VERSION 0.11.15
ENV NPM_VERSION 2.2.0

RUN curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
RUN buildDeps='curl' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
&& gpg --verify SHASUMS256.txt.asc \
&& grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
&& apt-get purge -y --auto-remove $buildDeps \
&& npm install -g npm@"$NPM_VERSION" \
&& npm cache clear

Expand Down
6 changes: 1 addition & 5 deletions 0.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
FROM buildpack-deps

RUN apt-get update && apt-get install -y \
ca-certificates \
curl
FROM buildpack-deps:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand Down
18 changes: 7 additions & 11 deletions 0.8/slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
FROM debian:wheezy

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
build-essential \
pkg-config \
git \
python \
&& rm -rf /var/lib/apt/lists/*
FROM debian:jessie

# verify gpg and sha256: http://nodejs.org/dist/v0.10.30/SHASUMS256.txt.asc
# gpg: aka "Timothy J Fontaine (Work) <tj.fontaine@joyent.com>"
Expand All @@ -17,12 +8,17 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys 7937DFD2AB06298B2293C318
ENV NODE_VERSION 0.8.28
ENV NPM_VERSION 2.2.0

RUN curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
RUN buildDeps='curl' \
&& set -x \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
&& curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
&& gpg --verify SHASUMS256.txt.asc \
&& grep " node-v$NODE_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
&& tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
&& rm "node-v$NODE_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc \
&& apt-get purge -y --auto-remove $buildDeps \
&& npm install -g npm@1.4.28 \
&& npm install -g npm@"$NPM_VERSION" \
&& npm cache clear
Expand Down