An open API service indexing awesome lists of open source software.

https://github.com/cdhtlr/wolfiwsl

Minimal container images with low-to-zero CVEs for development in WSL (Windows Subsystem for Linux).
https://github.com/cdhtlr/wolfiwsl

container docker linux windows-subsystem-for-linux wolfi wolfi-os wsl wsl2

Last synced: about 1 year ago
JSON representation

Minimal container images with low-to-zero CVEs for development in WSL (Windows Subsystem for Linux).

Awesome Lists containing this project

README

          

# WolfiWSL
Tutorial for installing Wolfi WSL images + calling Windows applications without any hassle.

Open the WSL Manager application (download it first from [bostrot/wsl2-distro-manager](https://github.com/bostrot/wsl2-distro-manager) if you don't have it yet), click "Add new instance", then enter the required data.

![](https://raw.githubusercontent.com/cdhtlr/WolfiWSL/main/WSL_Manager.png "WSL Manager")

Open Wolfi from Windows Terminal then enter the following command

apk update && apk upgrade
apk add mount libstdc++ bash curl sudo make git --no-cache
git clone https://github.com/wslutilities/wslu ~/wslu && cd ~/wslu
bash configure.sh
make
sudo make install && sudo install -m755 extras/scripts/wslu-uninstall /usr/bin
apk del --purge sudo make git && apk cache clean
echo "echo 'Welcome to WolfiWSL :D'" > /etc/motd
echo "alias a=wslact" > .profile
echo "alias s=wslusc" >> .profile
echo "alias o=wslview" >> .profile
echo "clear" >> .profile
echo "/etc/motd" >> .profile
chmod +x /etc/motd .profile
rm -rf .ash_history ~/wslu

If you haven't set WSL auto shutdown when idle, shutdown WSL with the following command

wsl --shutdown

Close Windows Terminal then reopen it.

Open Windows application you need, for example notepad.

o notepad.exe

Open Microsoft Word file easily.

o example.docx

## No GUI (WSLg) support because it's Wolfi :)