diff --git a/Dockerfile b/Dockerfile index 4324f03..7d6f926 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ ENV STEAM_APP_PATH="${STEAM_APP_PATH}" # BepInEx Mod Extra Stuff! Do not include the preceeding 'v' in the version ARG MOD_BEPINEX_VERSION="5.4.23.2" ENV MOD_BEPINEX_VERSION="${MOD_BEPINEX_VERSION}" +ARG MOD_STATIONEERSMODS_VERSION="1.0.24.0" +ENV MOD_STATIONEERSMODS_VERSION="${MOD_STATIONEERSMODS_VERSION}" + # Stationeers requires a different version of libstdc++ and libc to actually work, so we roll this back USER root diff --git a/launch.d/10-bepinex b/launch.d/10-bepinex index a949c2e..f9b9067 100644 --- a/launch.d/10-bepinex +++ b/launch.d/10-bepinex @@ -12,6 +12,14 @@ if [ ! -f BepInEx/config/BepInEx.cfg ]; then unzip "BepInEx_linux_x64_${MOD_BEPINEX_VERSION}.zip" fi + pushd "BepInEx/plugins" + if [ ! -f StationeersMods.zip ]; then + echo "Downloading StationeersMods version ${MOD_STATIONEERSMODS_VERSION}" + curl -LO "https://github.com/jixxed/StationeersMods/releases/download/v${MOD_STATIONEERSMODS_VERSION}/StationeersMods.zip" + unzip "StationeersMods.zip" + fi + popd + # Update the runner script to have our executable sed -i 's/^executable_name=""$/executable_name="rocketstation_DedicatedServer.x86_64"/' run_bepinex.sh chmod u+x run_bepinex.sh