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); \
8
8
[Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
9
9
# doing this first to share cache across versions more aggressively
10
10
11
- ENV NODE_VERSION 22.7 .0
12
- ENV NODE_CHECKSUM 3fc638727974262b4f65a6b1b43c22fb2d80671cdcb50e1237e0b05d1330aaf7
11
+ ENV NODE_VERSION 22.8 .0
12
+ ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
13
13
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
15
17
16
18
RUN 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' }; \
17
20
Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
18
21
gpg --version;
19
22
@@ -58,5 +61,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
58
61
# Smoke test
59
62
RUN node --version; \
60
63
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); \
8
8
[Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
9
9
# doing this first to share cache across versions more aggressively
10
10
11
- ENV NODE_VERSION 22.7 .0
12
- ENV NODE_CHECKSUM 3fc638727974262b4f65a6b1b43c22fb2d80671cdcb50e1237e0b05d1330aaf7
11
+ ENV NODE_VERSION 22.8 .0
12
+ ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
13
13
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
15
17
16
18
RUN 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' }; \
17
20
Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
18
21
gpg --version;
19
22
@@ -58,5 +61,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
58
61
# Smoke test
59
62
RUN node --version; \
60
63
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); \
11
11
ENV NODE_VERSION 0.0.0
12
12
ENV NODE_CHECKSUM CHECKSUM_x64
13
13
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
15
17
16
18
RUN 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' }; \
17
20
Start-Process -FilePath 'gpg-installer.exe' -ArgumentList '/S' -Wait; \
18
21
gpg --version;
19
22
@@ -47,5 +50,5 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
47
50
# Smoke test
48
51
RUN node --version; \
49
52
npm --version;
50
-
51
- CMD [ "node.exe" ]
53
+
54
+ CMD [ "node.exe" ]
You can’t perform that action at this time.
0 commit comments