16 lines
191 B
Bash
16 lines
191 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Start VirGL
|
|
virgl_test_server &
|
|
VIRGL_PID="$!"
|
|
|
|
# Launch Minecraft
|
|
${DOCKER_COMPOSE} run --rm minecraft-pi || :
|
|
RET="$?"
|
|
|
|
# Kill VirGL
|
|
kill "${VIRGL_PID}"
|
|
|
|
exit "${RET}" |