Skip to content

Commit 0e6e138

Browse files
authored
Pin Windows nightly images to 3/10 snapshot (#453)
1 parent a518391 commit 0e6e138

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

nightly-main/windows/1809/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128128

129129
# Install Swift toolchain.
130130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131+
# Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132+
# $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
131133
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
132-
$SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
134+
$SWIFT_URL = "\"https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe\""; \
133135
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
134136
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
135137
Write-Host '✓'; \

nightly-main/windows/LTSC2022/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB});
128128

129129
# Install Swift toolchain.
130130
ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json
131+
# Pinned to 3/10 snapshot due to https://github.com/swiftlang/swift/issues/80356
132+
# $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
131133
RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \
132-
$SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \
134+
$SWIFT_URL = "\"https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a/swift-DEVELOPMENT-SNAPSHOT-2025-03-10-a-windows10.exe\""; \
133135
Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \
134136
Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \
135137
Write-Host '✓'; \

0 commit comments

Comments
 (0)