minecraft-pi-docker/scripts/ci/simulate.sh

10 lines
230 B
Bash
Executable File

#!/bin/sh
set -e
# Build Docker Image
docker build -f scripts/ci/Dockerfile -t minecraft-pi-reborn-build .
# Run
docker run --rm -v "$(pwd):/data" -w '/data' -u "$(id -u):$(id -g)" minecraft-pi-reborn-build ./scripts/ci/run.sh