wasp-os/tools/docker/shell
Shuhao Wu 268f8c06e9 Added Docker setup to build wasp-os.
This should make it a bit easier for people to contribute. Also fixed
the documentations on how to setup on Debian, as certain recommended
packages don't exist.

Signed-off-by: Shuhao Wu <shuhao@shuhaowu.com>
2021-02-20 08:44:22 +00:00

16 lines
292 B
Bash
Executable file

#!/bin/bash
docker build --build-arg uid=$UID --build-arg gid=$(id -g) -t wasp-os-dev ./tools/docker
docker run \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
-v $(pwd):/home/user/wasp-os \
-u user \
-e DISPLAY \
--init \
--device /dev/dri \
-it \
--rm \
wasp-os-dev \
bash -l