Needs to be on server
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,12 +1,20 @@
|
||||
FROM clearlinux:latest
|
||||
|
||||
RUN swupd update
|
||||
RUN swupd bundle-add x11-sever libarchive wget wine
|
||||
RUN swupd bundle-add x11-server libarchive wget wine
|
||||
RUN mkdir -p /root/.wine/drive_c/steamcmd
|
||||
RUN mkdir -p /root/.wine/drive_c/users/root/AppData/LocalLow/'Stunlock Studios'/VRisingServer/Settings
|
||||
RUN wget -qO- https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip | bsdtar -xvf- -C /root/.wine/drive_c/steamcmd/
|
||||
RUN cd /root/.wine/drive_c/steamcmd/
|
||||
RUN winecfg
|
||||
RUN wine steamcmd.exe +force_install_dir "C:\VRisingServer" +login anonymous +app_update 1829350 validate +quit
|
||||
RUN cd /root/.wine/drive_c/vrisingserver/
|
||||
RUN xfvb-run wine VRisingServer.exe
|
||||
|
||||
COPY ./init.sh /
|
||||
RUN chmod +x /init.sh
|
||||
RUN bash /init.sh || :
|
||||
|
||||
COPY ./config/ServerGameSettings.json /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
||||
COPY ./config/ServerHostSettings.json /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
||||
|
||||
COPY ./start.sh /
|
||||
RUN chmod +x /start.sh
|
||||
|
||||
EXPOSE 27015/udp
|
||||
EXPOSE 27016/udp
|
||||
Reference in New Issue
Block a user