This repository was archived by the owner on Jul 20, 2018. It is now read-only.
File tree 3 files changed +14
-11
lines changed
3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,13 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \
7
7
FD3A5288F042B6850C66B31F09FE44734EB7990E
8
8
9
9
ENV NPM_CONFIG_LOGLEVEL info
10
- ENV IOJS_VERSION 2.0.0-nightly20150504f34b105ccd
10
+ ENV IOJS_VERSION 2.0.0
11
11
12
- RUN curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
13
- && curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/SHASUMS256.txt" \
14
- && grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$ " SHASUMS256.txt | sha256sum -c - \
12
+ RUN curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
13
+ && curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/SHASUMS256.txt.asc" \
14
+ && gpg --verify SHASUMS256.txt.asc \
15
+ && grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$ " SHASUMS256.txt.asc | sha256sum -c - \
15
16
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
16
- && rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt
17
+ && rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc
17
18
18
19
CMD [ "iojs" ]
Original file line number Diff line number Diff line change @@ -7,12 +7,13 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \
7
7
FD3A5288F042B6850C66B31F09FE44734EB7990E
8
8
9
9
ENV NPM_CONFIG_LOGLEVEL info
10
- ENV IOJS_VERSION 2.0.0-nightly20150504f34b105ccd
10
+ ENV IOJS_VERSION 2.0.0
11
11
12
- RUN curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
13
- && curl -SLO "https://iojs.org/download/nightly/v$IOJS_VERSION/SHASUMS256.txt" \
14
- && grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$ " SHASUMS256.txt | sha256sum -c - \
12
+ RUN curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/iojs-v$IOJS_VERSION-linux-x64.tar.gz" \
13
+ && curl -SLO "https://iojs.org/dist/v$IOJS_VERSION/SHASUMS256.txt.asc" \
14
+ && gpg --verify SHASUMS256.txt.asc \
15
+ && grep " iojs-v$IOJS_VERSION-linux-x64.tar.gz\$ " SHASUMS256.txt.asc | sha256sum -c - \
15
16
&& tar -xzf "iojs-v$IOJS_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 \
16
- && rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt
17
+ && rm "iojs-v$IOJS_VERSION-linux-x64.tar.gz" SHASUMS256.txt.asc
17
18
18
19
CMD [ "iojs" ]
Original file line number Diff line number Diff line change 3
3
4
4
declare -A aliases
5
5
aliases=(
6
- [1.8]=' 1 latest'
6
+ [1.8]=' 1'
7
+ [2.0]=' 2 latest'
7
8
)
8
9
9
10
cd " $( dirname " $( readlink -f " $BASH_SOURCE " ) " ) "
You can’t perform that action at this time.
0 commit comments