vintagestorydocker/entry.sh
2025-03-29 11:48:47 +01:00

13 lines
333 B
Bash

#!/usr/bin/env bash
set -e
if [[ ! -v VS_VERSION ]]; then
echo "You need to set the VS_VERSION env variable."
exit 1
fi
wget https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_${VS_VERSION}.tar.gz
tar xzf vs_server_linux-*.tar.gz
rm vs_server_linux-*.tar.gz
/vintagestory/VintagestoryServer --dataPath /data