feat: lutris and minecraft docker bins

This commit is contained in:
AngeD 2023-06-29 12:06:45 +02:00
parent 6239680f0b
commit 8440fa450d
2 changed files with 32 additions and 0 deletions

16
bin/lutris Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash -e
CRI=(podman)
mkdir -p "$HOME/Games/lutris/"
"${CRI[@]}" run --rm --name lutris \
--userns=keep-id \
--device /dev/dri/ \
-e DISPLAY \
-e XDG_RUNTIME_DIR \
-v /dev/shm/:/dev/shm/ \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-v "$XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR" \
-v "$HOME/Games/lutris/:/app/" \
git.maby.dev/ange/docker-lutris:0.1

16
bin/minecraft Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash -e
CRI=(podman)
mkdir -p "$HOME/Games/minecraft/"
${CRI[@]} run --rm --name minecraft \
--userns=keep-id \
--device /dev/dri/ \
-e DISPLAY \
-e XDG_RUNTIME_DIR \
-v /dev/shm:/dev/shm \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-v "$XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR" \
-v "$HOME/Games/minecraft/:/app/" \
git.maby.dev/ange/docker-mc:0.1