Skip to content
This repository was archived by the owner on Jul 20, 2018. It is now read-only.

Commit 50f9f41

Browse files
committed
Merge pull request #83 from hmalphettes/master
Add the 3.0 build
2 parents 0a5fc11 + abdb719 commit 50f9f41

File tree

5 files changed

+53
-1
lines changed

5 files changed

+53
-1
lines changed

3.0/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM buildpack-deps:jessie
2+
3+
# gpg keys listed at https://github.com/nodejs/io.js
4+
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \
5+
9554F04D7259F04124DE6B476D5A82AC7E37093B \
6+
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
7+
FD3A5288F042B6850C66B31F09FE44734EB7990E \
8+
94AE36675C464D64BAFA68DD7434390BDBE9B9C5
9+
10+
ENV NPM_CONFIG_LOGLEVEL info
11+
ENV IOJS_VERSION 3.0.0
12+
13+
RUN curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
14+
&& curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/SHASUMS256.txt.asc" \
15+
&& gpg --verify SHASUMS256.txt.asc \
16+
&& grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
17+
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
18+
&& rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc
19+
20+
CMD [ "iojs" ]

3.0/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../README.md

3.0/onbuild/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM iojs:3.0.0
2+
3+
RUN mkdir -p /usr/src/app
4+
WORKDIR /usr/src/app
5+
6+
ONBUILD COPY package.json /usr/src/app/
7+
ONBUILD RUN npm install
8+
ONBUILD COPY . /usr/src/app
9+
10+
CMD [ "npm", "start" ]

3.0/slim/Dockerfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM buildpack-deps:jessie-curl
2+
3+
# gpg keys listed at https://github.com/nodejs/io.js
4+
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \
5+
9554F04D7259F04124DE6B476D5A82AC7E37093B \
6+
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \
7+
FD3A5288F042B6850C66B31F09FE44734EB7990E \
8+
94AE36675C464D64BAFA68DD7434390BDBE9B9C5
9+
10+
ENV NPM_CONFIG_LOGLEVEL info
11+
ENV IOJS_VERSION 3.0.0
12+
13+
RUN curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
14+
&& curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/SHASUMS256.txt.asc" \
15+
&& gpg --verify SHASUMS256.txt.asc \
16+
&& grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt.asc | sha256sum -c - \
17+
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
18+
&& rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc
19+
20+
CMD [ "iojs" ]

generate-stackbrew-library.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ set -e
44
declare -A aliases
55
aliases=(
66
[1.8]='1'
7-
[2.5]='2 latest'
7+
[2.5]='2'
8+
[3.0]='3 latest'
89
)
910

1011
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

0 commit comments

Comments
 (0)