Updated to new server version

This commit is contained in:
Doc
2024-08-07 12:29:54 +02:00
parent c54ebea0eb
commit c1a9557a7a

View File

@@ -1,5 +1,7 @@
FROM rockylinux:9
ARG VERSION="1.19.8"
RUN dnf install epel-release -y
RUN dnf install procps-ng screen wget libicu -y
@@ -30,13 +32,15 @@ RUN chmod +x ./dotnet-install.sh
RUN ./dotnet-install.sh --channel 7.0 --runtime dotnet
RUN rm dotnet-install.sh
RUN chmod -R 700 /home/vintagestory/server /home/vintagestory/install
WORKDIR /home/vintagestory/install
RUN wget https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_1.18.8.tar.gz
RUN wget "https://cdn.vintagestory.at/gamefiles/stable/vs_server_linux-x64_${VERSION}.tar.gz"
RUN tar xzf vs_server_linux-x64_1.18.8.tar.gz
RUN tar xzf "vs_server_linux-x64_${VERSION}.tar.gz"
RUN chmod +x server.sh