@@ -4,14 +4,14 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
44
55# PATH isn't actually set in the Docker image, so we have to set it from within the container
66RUN $newPath = ('C:\P rogram Files (x86)\G nuPG\b in;{0}' -f $env:PATH); \
7- Write-Host ('Updating PATH: {0}' -f $newPath); \
8- [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
7+ Write-Host ('Updating PATH: {0}' -f $newPath); \
8+ [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
99# doing this first to share cache across versions more aggressively
1010
1111ENV NODE_VERSION 22.8.0
1212ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
1313
14- # Version and checksum of the GPG installer (Source: https://lists .gnupg.org/pipermail/gnupg-announce/2024q3/000484 .html)
14+ # Version and checksum of the GPG installer (Source: https://www .gnupg.org/download/integrity_check .html)
1515ENV GPG_VERSION 2.4.5_20240307
1616ENV GPG_CHECKSUM d2ac821ceacf9409ebcdb42ae330087ada30c732981f00b356f9c2f08fac4dc1
1717
@@ -34,9 +34,9 @@ RUN @( \
3434 'A363A499291CBBC940DD62E41F10027AF002F8B0' , \
3535 'CC68F5A3106FF448322E48ED27F5E38D5B0A215F' \
3636 ) | foreach { \
37- gpg --batch --keyserver hkps://keys.openpgp.org --verbose -- recv-keys $_ ; \
37+ gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys $_ ; \
3838 if (-not $?) { \
39- gpg --batch --keyserver keyserver.ubuntu.com --verbose -- recv-keys $_ ; \
39+ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys $_ ; \
4040 } \
4141 } ; \
4242 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
@@ -53,8 +53,8 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2019 as runner
5353SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
5454
5555RUN $newPath = ('C:\n odejs;{0}' -f $env:PATH); \
56- Write-Host ('Updating PATH: {0}' -f $newPath); \
57- [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
56+ Write-Host ('Updating PATH: {0}' -f $newPath); \
57+ [Environment]::SetEnvironmentVariable('PATH' , $newPath, [EnvironmentVariableTarget]::Machine)
5858
5959COPY --from=installer C:/nodejs C:/nodejs
6060
@@ -63,6 +63,6 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
6363
6464# Smoke test
6565RUN node --version; \
66- npm --version;
66+ npm --version;
6767
6868CMD [ "node.exe" ]
0 commit comments