mtinfo/start-mod.sh

14 lines
327 B
Bash
Raw Normal View History

2019-09-12 09:44:37 +02:00
#!/bin/sh
2020-01-06 13:31:18 +01:00
rm -rf /tmp/mtinfo
2019-09-12 09:44:37 +02:00
mkdir -p /tmp/mtinfo
chmod 777 -R /tmp/mtinfo
docker run --rm -it \
-v /tmp/mtinfo/:/var/lib/minetest/.minetest \
2020-01-06 13:31:18 +01:00
-v $(pwd)/:/var/lib/minetest/.minetest/worlds/world/worldmods/mtinfo \
2019-12-09 13:48:44 +01:00
registry.gitlab.com/minetest/minetest/server:5.1.0
2019-09-12 09:44:37 +02:00
2020-01-06 13:31:18 +01:00
rm ./mtinfo -rf
cp -R /tmp/mtinfo/worlds/world/mtinfo .