@@ -4,14 +4,14 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
4
4
5
5
# PATH isn't actually set in the Docker image, so we have to set it from within the container
6
6
RUN $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)
9
9
# doing this first to share cache across versions more aggressively
10
10
11
11
ENV NODE_VERSION 22.8.0
12
12
ENV NODE_CHECKSUM d6e1c4fca93997224cac0bec09b4201aa018f50171d38c6b85abe483012839c9
13
13
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)
15
15
ENV GPG_VERSION 2.4.5_20240307
16
16
ENV GPG_CHECKSUM d2ac821ceacf9409ebcdb42ae330087ada30c732981f00b356f9c2f08fac4dc1
17
17
@@ -34,9 +34,9 @@ RUN @( \
34
34
'A363A499291CBBC940DD62E41F10027AF002F8B0' , \
35
35
'CC68F5A3106FF448322E48ED27F5E38D5B0A215F' \
36
36
) | foreach { \
37
- gpg --batch --keyserver hkps://keys.openpgp.org --verbose -- recv-keys $_ ; \
37
+ gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys $_ ; \
38
38
if (-not $?) { \
39
- gpg --batch --keyserver keyserver.ubuntu.com --verbose -- recv-keys $_ ; \
39
+ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys $_ ; \
40
40
} \
41
41
} ; \
42
42
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 ; \
@@ -53,8 +53,8 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2019 as runner
53
53
SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
54
54
55
55
RUN $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)
58
58
59
59
COPY --from=installer C:/nodejs C:/nodejs
60
60
@@ -63,6 +63,6 @@ ENTRYPOINT [ "powershell.exe" , "C:/docker-entrypoint.ps1" ]
63
63
64
64
# Smoke test
65
65
RUN node --version; \
66
- npm --version;
66
+ npm --version;
67
67
68
68
CMD [ "node.exe" ]
0 commit comments