Update Docker Image On Startup

This commit is contained in:
TheBrokenRail 2020-10-07 10:26:01 -04:00
parent 7ac5d15737
commit b753b8da92

View File

@ -27,6 +27,7 @@ xhost local:root
# Launch Minecraft # Launch Minecraft
DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/docker-compose.yml" DOCKER_COMPOSE="docker-compose -f /usr/share/minecraft-pi/docker-compose.yml"
${DOCKER_COMPOSE} pull | zenity --class 'Minecraft - Pi edition' --progress --pulsate --no-cancel --auto-close --text 'Updating Minecraft...'
${DOCKER_COMPOSE} up ${DOCKER_COMPOSE} up
${DOCKER_COMPOSE} down ${DOCKER_COMPOSE} down