commit 45ff60a69706e3c5ca45ca3b5b47000f698299d7 Author: hacker Date: Mon Jul 8 13:52:51 2024 +0100 init diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..61da7ce --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +FROM mcr.microsoft.com/dotnet/sdk:6.0 + +RUN \ + apt-get update; \ + apt-get -y upgrade; \ + apt-get install -y --no-install-recommends \ + curl \ + wget \ + make \ + python3 \ + unzip \ + mono-complete + + +RUN useradd -d /home/openra -m -s /sbin/nologin openra + +WORKDIR /home/openra + +USER openra + +RUN curl -L https://github.com/ABrandau/Shattered-Paradise-SDK/archive/refs/tags/playtest-20240526.tar.gz | tar -xz + +RUN mv Shattered-Paradise-SDK-playtest-20240526/* . +RUN rm -rf Shattered-Paradise-SDK-playtest-20240526 + +RUN make + +EXPOSE 1234 + +ENTRYPOINT ["./launch-dedicated.sh"] \ No newline at end of file