This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from Starefossen/iojs-2-0-0-rc-1
Add io.js v2.0.0-rc-3
- Loading branch information
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM buildpack-deps:jessie | ||
|
||
# gpg keys listed at https://github.com/iojs/io.js | ||
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ | ||
9554F04D7259F04124DE6B476D5A82AC7E37093B \ | ||
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ | ||
FD3A5288F042B6850C66B31F09FE44734EB7990E | ||
|
||
ENV NPM_CONFIG_LOGLEVEL info | ||
ENV IOJS_VERSION 2.0.0-nightly20150504f34b105ccd | ||
|
||
RUN curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \ | ||
&& curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/SHASUMS256.txt" \ | ||
&& grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt | sha256sum -c - \ | ||
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \ | ||
&& rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt | ||
|
||
CMD [ "iojs" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
iojs2: | ||
build: . | ||
command: iojs --version | ||
|
||
iojs2slim: | ||
build: slim | ||
command: iojs --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM iojs:2.0.0 | ||
|
||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
ONBUILD COPY package.json /usr/src/app/ | ||
ONBUILD RUN npm install | ||
ONBUILD COPY . /usr/src/app | ||
|
||
CMD [ "npm", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM buildpack-deps:jessie-curl | ||
|
||
# gpg keys listed at https://github.com/iojs/io.js | ||
RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ | ||
9554F04D7259F04124DE6B476D5A82AC7E37093B \ | ||
DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ | ||
FD3A5288F042B6850C66B31F09FE44734EB7990E | ||
|
||
ENV NPM_CONFIG_LOGLEVEL info | ||
ENV IOJS_VERSION 2.0.0-nightly20150504f34b105ccd | ||
|
||
RUN curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \ | ||
&& curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/SHASUMS256.txt" \ | ||
&& grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$" SHASUMS256.txt | sha256sum -c - \ | ||
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \ | ||
&& rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt | ||
|
||
CMD [ "iojs" ] |