Skip to content

Commit 0b6d089

Browse files
Update Node.js 12.16.1 (#437)
* Update Node.js 12.16.1 * Update thumbprints
1 parent 71a7b4a commit 0b6d089

7 files changed

Lines changed: 10 additions & 13 deletions

File tree

node/12/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@ RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/node-v{0}-win-x64.zip' -f
3636
Expand-Archive node.zip -DestinationPath C:\ ; \
3737
Rename-Item -Path $('C:\node-v{0}-win-x64' -f $env:NODE_VERSION) -NewName 'C:\nodejs'
3838

39-
ENV YARN_VERSION 1.13.0
39+
ENV YARN_VERSION 1.22.0
4040

4141
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
4242
Invoke-WebRequest $('https://yarnpkg.com/downloads/{0}/yarn-{0}.msi' -f $env:YARN_VERSION) -OutFile yarn.msi -UseBasicParsing ; \
4343
$sig = Get-AuthenticodeSignature yarn.msi ; \
4444
if ($sig.Status -ne 'Valid') { Write-Error 'Authenticode signature is not valid' } ; \
4545
Write-Output $sig.SignerCertificate.Thumbprint ; \
4646
if (@( \
47-
'7E253367F8A102A91D04829E37F3410F14B68A5F', \
48-
'AF764E1EA56C762617BDC757C8B0F3780A0CF5F9' \
47+
'795D68C6828BD3D21B36EB15F7A31EE5873EBE8F' \
4948
) -notcontains $sig.SignerCertificate.Thumbprint) { Write-Error 'Unknown signer certificate' } ; \
5049
Start-Process msiexec.exe -ArgumentList '/i', 'yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait
5150

node/12/nano/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@ RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/node-v{0}-win-x64.zip' -f
3636
Expand-Archive node.zip -DestinationPath C:\ ; \
3737
Rename-Item -Path $('C:\node-v{0}-win-x64' -f $env:NODE_VERSION) -NewName 'C:\nodejs'
3838

39-
ENV YARN_VERSION 1.13.0
39+
ENV YARN_VERSION 1.22.0
4040

4141
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
4242
Invoke-WebRequest $('https://yarnpkg.com/downloads/{0}/yarn-{0}.msi' -f $env:YARN_VERSION) -OutFile yarn.msi -UseBasicParsing ; \
4343
$sig = Get-AuthenticodeSignature yarn.msi ; \
4444
if ($sig.Status -ne 'Valid') { Write-Error 'Authenticode signature is not valid' } ; \
4545
Write-Output $sig.SignerCertificate.Thumbprint ; \
4646
if (@( \
47-
'7E253367F8A102A91D04829E37F3410F14B68A5F', \
48-
'AF764E1EA56C762617BDC757C8B0F3780A0CF5F9' \
47+
'795D68C6828BD3D21B36EB15F7A31EE5873EBE8F' \
4948
) -notcontains $sig.SignerCertificate.Thumbprint) { Write-Error 'Unknown signer certificate' } ; \
5049
Start-Process msiexec.exe -ArgumentList '/i', 'yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait
5150

node/12/pure/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@ RUN Invoke-WebRequest $('https://nodejs.org/dist/v{0}/node-v{0}-win-x64.zip' -f
3636
Expand-Archive node.zip -DestinationPath C:\ ; \
3737
Rename-Item -Path $('C:\node-v{0}-win-x64' -f $env:NODE_VERSION) -NewName 'C:\nodejs'
3838

39-
ENV YARN_VERSION 1.13.0
39+
ENV YARN_VERSION 1.22.0
4040

4141
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
4242
Invoke-WebRequest $('https://yarnpkg.com/downloads/{0}/yarn-{0}.msi' -f $env:YARN_VERSION) -OutFile yarn.msi -UseBasicParsing ; \
4343
$sig = Get-AuthenticodeSignature yarn.msi ; \
4444
if ($sig.Status -ne 'Valid') { Write-Error 'Authenticode signature is not valid' } ; \
4545
Write-Output $sig.SignerCertificate.Thumbprint ; \
4646
if (@( \
47-
'7E253367F8A102A91D04829E37F3410F14B68A5F', \
48-
'AF764E1EA56C762617BDC757C8B0F3780A0CF5F9' \
47+
'795D68C6828BD3D21B36EB15F7A31EE5873EBE8F' \
4948
) -notcontains $sig.SignerCertificate.Thumbprint) { Write-Error 'Unknown signer certificate' } ; \
5049
Start-Process msiexec.exe -ArgumentList '/i', 'yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait
5150

node/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ docker version
3737
#buildVersion "6.14.4" "6.14" "6"
3838
#buildVersion "8.11.4" "8.11" "8"
3939

40-
buildVersion "10.19.0" "10.19" "10"
40+
buildVersion "12.16.1" "12.16" "12"

node/push.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ choco install -y manifest-tool
9898
#pushVersion "6.14.4" "6.14" "6"
9999
#pushVersion "8.11.4" "8.11" "8"
100100

101-
pushVersion "10.19.0" "10.19" "10"
101+
pushVersion "12.16.1" "12.16" "12"

node/test.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ function testVersion($majorMinorPatch, $yarnVersion) {
3333

3434
#testVersion "6.14.4" "1.6.0"
3535
#testVersion "8.11.4" "1.6.0"
36-
testVersion "10.19.0" "1.21.1"
36+
testVersion "12.16.1" "1.22.0"

node/update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ function update_version() {
3232
find push* -type f -exec sed -i "" "s/${curr_major//./\\.}/$latest_major/g" {} +
3333
}
3434

35-
update_version 10
35+
update_version 12
3636
#update_version 8
3737
#update_version 6

0 commit comments

Comments
 (0)