Improve DEB
minecraft-pi-docker/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-10-14 22:51:30 -04:00
parent adb9d7b08e
commit cc6f19c836
3 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,10 @@ xhost local:root
# Launch Minecraft
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/client/docker-compose.yml"
(${DOCKER_COMPOSE} pull || :) | zenity --class 'Minecraft - Pi edition' --progress --pulsate --no-cancel --auto-close --text 'Updating Minecraft...'
${DOCKER_COMPOSE} run --rm -T minecraft-pi || :
${DOCKER_COMPOSE} run --rm minecraft-pi || :
RET="$?"
# Kill VirGL
kill "${VIRGL_PID}"
ecit "${RET}"

View File

@ -7,4 +7,4 @@ export MCPI_ROOT="${PWD}"
# Launch Minecraft
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/server/docker-compose.yml"
${DOCKER_COMPOSE} pull || :
${DOCKER_COMPOSE} run --rm -T minecraft-pi
${DOCKER_COMPOSE} run --rm minecraft-pi-server

View File

@ -1,6 +1,6 @@
version: '3.7'
services:
minecraft-pi:
minecraft-pi-server:
image: 'thebrokenrail/minecraft-pi:server'
network_mode: 'host'
volumes: