update to dotnet install
vintage-story-build-server / Docker prune (vm-docker-build2) (push) Successful in 6s
vintage-story-build-server / poll-debian-base-and-detect-changes (push) Successful in 10s
vintage-story-build-server / Build and Push server (push) Successful in 35s
vintage-story-build-server / generate-changelogs (push) Successful in 13s
vintage-story-build-server / generate-build-info (push) Successful in 13s

This commit is contained in:
2026-07-27 13:45:04 -07:00
parent 05b22f5fe9
commit 93cc93760d
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -25,6 +25,7 @@
<Config Name="Vintage Story Release Channel" Target="VS_CHANNEL" Default="stable|unstable" Mode="" Description="Select which release channel you want to use." Type="Variable" Display="always" Required="true" Mask="false"></Config>
<Config Name="vintage-story Version" Target="VS_VERSION" Default="" Mode="" Description="Pick your vintage-story version." Type="Variable" Display="always" Required="true" Mask="false">1.21.5</Config>
<Config Name="Username" Target="USERNAME" Default="vintagestory" Mode="" Description="Set username." Type="Variable" Display="always" Required="true" Mask="false">fithwum</Config>
<Config Name="Dotnet Version" Target="DOTNET_VERSION" Default="8.0|9.0|10.0" Mode="" Description="Select Dotnet version." Type="Variable" Display="always" Required="true" Mask="false"></Config>
<Config Name="Save Data" Target="/VSserver/data/" Default="" Mode="rw" Description="Save data path" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Games/Saves/vintagestory/</Config>
<Config Name="AppData Config Path" Target="/VSserver/server" Default="/mnt/user/appdata/vintage-story-server" Mode="rw" Description="Appdata path" Type="Path" Display="advanced-hide" Required="true" Mask="false">/mnt/user/Games/Servers/vintage-story-server</Config>
<Config Name="Key 2" Target="PUID" Default="99" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="false" Mask="false">99</Config>
+1
View File
@@ -5,6 +5,7 @@ LABEL maintainer="fithwum"
ENV VS_CHANNEL=""
ENV VS_VERSION=""
ENV USERNAME=""
ENV DOTNET_VERSION=""
# URL's for files
ARG INSTALL_SCRIPT=https://gitea.fithwum.tech/fithwum/vintage-story/raw/branch/main/server/install_script.sh
+4 -4
View File
@@ -5,17 +5,17 @@
VS_SERVER_FILE=https://cdn.vintagestory.at/gamefiles/$VS_CHANNEL/vs_server_linux-x64_$VS_VERSION.tar.gz
# DOTnet install
if [ dpkg -s dotnet-sdk-8.0 &> /dev/null ]
if [ dpkg -s dotnet-sdk-$DOTNET_VERSION &> /dev/null ]
then
echo "INFO ! dotnet-sdk-8.0 installed ... moving on."
echo "INFO ! dotnet-sdk-$DOTNET_VERSION installed ... moving on."
else
echo " "
echo "WARNING ! dotnet-sdk-8.0 not installed ... will install now."
echo "WARNING ! dotnet-sdk-$DOTNET_VERSION not installed ... will install now."
wget --no-cache --show-progress --progress=bar:force:noscroll https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
apt-get -y update
apt-get install -y dotnet-sdk-8.0
apt-get install -y dotnet-sdk-$DOTNET_VERSION
fi
# Main install (Debian).