File tree 2 files changed +2
-0
lines changed
4.5/windows/windowsservercore
6.4/windows/windowsservercore
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ENV NODE_VERSION 4.5.0
5
5
ENV NODE_SHA256 16aab15b29e79746d1bae708f6a5dbed8ef3c87426a9408f7261163d0cda0f56
6
6
7
7
RUN powershell -Command \
8
+ $ErrorActionPreference = 'Stop' ; \
8
9
(New-Object System.Net.WebClient).DownloadFile('https://nodejs.org/dist/v%NODE_VERSION%/node-v%NODE_VERSION%-win-x64.zip' , 'node.zip' ) ; \
9
10
if ((Get-FileHash node.zip -Algorithm sha256).Hash -ne $env:NODE_SHA256) {exit 1} ; \
10
11
Expand-Archive node.zip -DestinationPath C:\ ; \
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ ENV NODE_VERSION 6.4.0
5
5
ENV NODE_SHA256 bb994370e43c1539e11588a86e69064459141b6984b705f1c79a1a13181193b9
6
6
7
7
RUN powershell -Command \
8
+ $ErrorActionPreference = 'Stop' ; \
8
9
(New-Object System.Net.WebClient).DownloadFile('https://nodejs.org/dist/v%NODE_VERSION%/node-v%NODE_VERSION%-win-x64.zip' , 'node.zip' ) ; \
9
10
if ((Get-FileHash node.zip -Algorithm sha256).Hash -ne $env:NODE_SHA256) {exit 1} ; \
10
11
Expand-Archive node.zip -DestinationPath C:\ ; \
You can’t perform that action at this time.
0 commit comments