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
@@ -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).