nunix / wolfiblue

Bluefin-cli for WSL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wolfiblue

Bluefin-cli for WSL

Build

The Dockerfile contains the following options:

  1. Variable USERNAME is the username to use for the image. Default is user.
  2. Variable PASSWORD is the password to use for the image. Default is user.
  3. Variable USER_UID is the user id to use for the image. Default is 1000.
  4. Variable USER_GID is the group id to use for the image. Default is 1000.
  5. Copy the wsl.conf file to /etc/wsl.conf to set the default user and enables systemd.
  6. Copy the extra-packages file to /extra-packages to install extra packages.

To build the image with all defaults, run the following command:

docker build --output type=tar,dest=wolfiblue.tar .

Import

The file generated from the docker build command can be imported into WSL using the following command:

wsl --import wolfiblue $env:USERPROFILE/wolfiblue wolfiblue.tar --version 2

Note: The path used in the --import command must be a Windows path. Note: The --version 2 is required to enable systemd.

About

Bluefin-cli for WSL

License:Apache License 2.0


Languages

Language:Dockerfile 100.0%