Ready for test
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -2,7 +2,7 @@ FROM clearlinux:latest
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
RUN swupd update
|
RUN swupd update
|
||||||
RUN swupd bundle-add x11-server libarchive wget wine
|
RUN swupd bundle-add x11-server libarchive wget wine go-basic
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
RUN mkdir -p /root/.wine/drive_c/steamcmd
|
RUN mkdir -p /root/.wine/drive_c/steamcmd
|
||||||
@@ -26,6 +26,14 @@ COPY ./scripts/init.sh /
|
|||||||
RUN chmod +x /init.sh
|
RUN chmod +x /init.sh
|
||||||
RUN bash /init.sh || :
|
RUN bash /init.sh || :
|
||||||
|
|
||||||
|
RUN mkdir -p /src
|
||||||
|
WORKDIR /src
|
||||||
|
RUN git clone https://rodbiren.ddns.net/git/robviren/vrisingd
|
||||||
|
WORKDIR /src/vrisingd
|
||||||
|
RUN go build .
|
||||||
|
RUN cp ./vrisingd /vrisingd
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
# Copy user configured settings
|
# Copy user configured settings
|
||||||
# COPY ./config/ServerGameSettings.json /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
# 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 ./config/ServerHostSettings.json /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
||||||
@@ -37,4 +45,4 @@ RUN bash /init.sh || :
|
|||||||
# RUN chmod +x /start.sh
|
# RUN chmod +x /start.sh
|
||||||
|
|
||||||
# Entry Point Script
|
# Entry Point Script
|
||||||
# CMD /start.sh
|
CMD /vrisingd
|
||||||
Reference in New Issue
Block a user