Skip to content

[NFC][lldb][windows] remove unneeded files from the docker image#575

Merged
shahmishal merged 1 commit into
swiftlang:mainfrom
charles-zablit:cz/lldb/windows/shrink
Jun 23, 2026
Merged

[NFC][lldb][windows] remove unneeded files from the docker image#575
shahmishal merged 1 commit into
swiftlang:mainfrom
charles-zablit:cz/lldb/windows/shrink

Conversation

@charles-zablit

Copy link
Copy Markdown
Contributor

This patch shrinks the docker image even further than #566 did:

What was dropped:

VS Build Tools install:

  • VC.Tools.x86.x64 (redundant with the pinned 14.44.17.14.x86.x64).
  • All ARM64 components (we only test x64)
  • Windows10SDK (kept Win11 SDK 22621)
  • VC.CMake.Project (redundant with the standalone CMake 3.31.8 install)
  • Added cleanup of C:\ProgramData\Package Cache and $env:TEMP\* in the same RUN.

vcpkg:

  • .git removed right after bootstrap-vcpkg.bat.
  • vcpkg install of libxml2 and the rmdir of buildtrees/packages/downloads now share one RUN, so those directories never persist into a layer.

@charles-zablit charles-zablit force-pushed the cz/lldb/windows/shrink branch from 0e22b06 to e773923 Compare June 23, 2026 20:25
@shahmishal shahmishal merged commit 8e17e09 into swiftlang:main Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants