wsl-images icon indicating copy to clipboard operation
wsl-images copied to clipboard

Build WSL images in modern way

Open andrewlukoshko opened this issue 1 week ago • 0 comments

In November 2024 MS introduced a new distribution architecture for WSL that allows for use of tar compressed root filesystems to be imported into WSL.

We need to update our images to fit requirements and create PRs to https://github.com/microsoft/WSL/blob/master/distributions/DistributionInfo.json to make them available for wsl CLI tool.

Steps:

  1. Build .wsl images according to https://learn.microsoft.com/en-gb/windows/wsl/build-custom-distro. Also https://gitlab.com/kalilinux/build-scripts/kali-wsl-rootfs may be used as reference.
  2. Upload .wsl images to GitHub (SUSE way, check https://github.com/microsoft/WSL/blob/master/distributions/DistributionInfo.json)
  3. Create PR to https://github.com/microsoft/WSL/blob/master/distributions/DistributionInfo.json to include AlmaLinux
  4. Create GitHub Actions to do rebuilds and PRs automatically.

andrewlukoshko avatar Feb 18 '25 09:02 andrewlukoshko