kmmiles / rhel8-wsl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rhel8-wsl

build release

rhel8 distro for wsl2.

minimal rhel8 + podman + "wsl" user with sudo access.

Install

  • Download and extract the release zip.
  • Run the install.bat script.

NOTE: If rhel8 distro already exists, it will be REMOVED. The script will warn you before doing so.

Build it yourself

You'll need docker or podman.

  • Check out the source code and run ./bin/release
  • Copy the zip from dist to windows, extract it, and run install.bat

If you've got Docker, but can't run bash scripts, you can still manage. You just need to copy the process from ./bin/build and ./bin/export.

Make your own custom distro

You can either:

  • Fork this repo and add your own modifications.

  • Pull this image into your own Dockerfile i.e.

FROM ghcr.io/kmmiles/rhel8-wsl

How it works

WSL2 distributions are really just containers. We build a container of our liking with docker, then export the rootfs as a tarball. Then this tarball can be imported as a WSL distribution with wsl.exe --import.

About

License:MIT License


Languages

Language:Shell 54.0%Language:Dockerfile 33.0%Language:Batchfile 13.0%