File tree Expand file tree Collapse file tree 3 files changed +22
-13
lines changed Expand file tree Collapse file tree 3 files changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,15 @@ RUN $newPath = ('C:\Program Files (x86)\GnuPG\bin;{0}' -f $env:PATH); \
88 [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
99# doing this first to share cache across versions more aggressively
1010
11- ENV NODE_VERSION 22.7 .0
12- ENV NODE_CHECKSUM 3fc638727974262b4f65a6b1b43c22fb2d80671cdcb50e1237e0b05d1330aaf7
11+ ENV NODE_VERSION 22.8 .0
12+ ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
1313
14- ENV GPG_VERSION 2.4.5_20240307
14+ # Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15+ ENV GPG_VERSION 2.5.0_20240705
16+ ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
1517
1618RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe' ; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha1).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
1720 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
1821 gpg --version;
1922
@@ -58,5 +61,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
5861# Smoke test
5962RUN node --version; \
6063 npm --version;
61-
62- CMD [ "node.exe" ]
64+
65+ CMD [ "node.exe" ]
Original file line number Diff line number Diff line change @@ -8,12 +8,15 @@ RUN $newPath = ('C:\Program Files (x86)\GnuPG\bin;{0}' -f $env:PATH); \
88 [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
99# doing this first to share cache across versions more aggressively
1010
11- ENV NODE_VERSION 22.7 .0
12- ENV NODE_CHECKSUM 3fc638727974262b4f65a6b1b43c22fb2d80671cdcb50e1237e0b05d1330aaf7
11+ ENV NODE_VERSION 22.8 .0
12+ ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
1313
14- ENV GPG_VERSION 2.4.5_20240307
14+ # Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15+ ENV GPG_VERSION 2.5.0_20240705
16+ ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
1517
1618RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe' ; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha1).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
1720 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
1821 gpg --version;
1922
@@ -58,5 +61,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
5861# Smoke test
5962RUN node --version; \
6063 npm --version;
61-
62- CMD [ "node.exe" ]
64+
65+ CMD [ "node.exe" ]
Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ RUN $newPath = ('C:\Program Files (x86)\GnuPG\bin;{0}' -f $env:PATH); \
1111ENV NODE_VERSION 0.0.0
1212ENV NODE_CHECKSUM CHECKSUM_x64
1313
14- ENV GPG_VERSION 2.4.5_20240307
14+ # Version and checksum of the GPG installer (Source: https://lists.gnupg.org/pipermail/gnupg-announce/2024q3/000484.html)
15+ ENV GPG_VERSION 2.5.0_20240705
16+ ENV GPG_CHECKSUM 35caef9965b10eed53b8d09b48fba5d1479f3512
1517
1618RUN Invoke-WebRequest $('https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-{0}.exe' -f $env:GPG_VERSION) -OutFile 'gpg-installer.exe'; \
19+ if ((Get-FileHash gpg-installer.exe -Algorithm sha1).Hash -ne $env:GPG_CHECKSUM) { Write-Error 'GPG checksum mismatch' }; \
1720 Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
1821 gpg --version;
1922
@@ -47,5 +50,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
4750# Smoke test
4851RUN node --version; \
4952 npm --version;
50-
51- CMD [ "node.exe" ]
53+
54+ CMD [ "node.exe" ]
You can’t perform that action at this time.
0 commit comments