11 lines
243 B
Bash
Executable File
11 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
virgl_test_server &
|
|
PID="$!"
|
|
|
|
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi
|
|
|
|
kill "${PID}"
|