20 lines
739 B
Docker
20 lines
739 B
Docker
FROM clearlinux:latest
|
|
|
|
RUN swupd update
|
|
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/
|
|
|
|
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 |