minecraft-pi-docker/data/usr/bin/minecraft-pi

16 lines
205 B
Plaintext
Raw Normal View History

2020-09-25 23:37:22 +00:00
#!/bin/sh
set -e
virgl_test_server &
PID="$!"
xhost local:root
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/docker-compose.yml"
${DOCKER_COMPOSE} up
${DOCKER_COMPOSE} down
kill "${PID}"