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

10 lines
222 B
Bash
Raw Permalink Normal View History

2021-06-17 21:32:24 +00:00
#!/bin/sh
set -e
2022-03-10 02:23:41 +00:00
# Build Docker Image
2022-03-10 03:53:37 +00:00
docker build -f scripts/ci/Dockerfile -t minecraft-pi-reborn-build .
2022-03-10 02:23:41 +00:00
2021-06-17 21:32:24 +00:00
# Run
2022-03-10 02:23:41 +00:00
docker run --rm -v "$(pwd):/data" -w '/data' -u '1000:1000' minecraft-pi-reborn-build ./scripts/ci/run.sh