forked from nodejs/docker-iojs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: nodejs#55 Related: nodejs#51 Related: nodejs/iojs.org#327 Related: nodejs/node#1532 Signed-off-by: Hans Kristian Flaatten <hans.kristian.flaatten@turistforeningen.no>
- Loading branch information
Hans Kristian Flaatten
committed
May 4, 2015
1 parent
82e25e0
commit 18d119c
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" ] |