Revert to sad thing
This commit is contained in:
23
Dockerfile
23
Dockerfile
@@ -2,7 +2,7 @@ FROM clearlinux:latest
|
||||
|
||||
# Dependencies
|
||||
RUN swupd update
|
||||
RUN swupd bundle-add x11-server libarchive wget wine go-basic
|
||||
RUN swupd bundle-add x11-server libarchive wget wine
|
||||
|
||||
# Directories
|
||||
RUN mkdir -p /root/.wine/drive_c/steamcmd
|
||||
@@ -19,30 +19,15 @@ VOLUME [ "/root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/S
|
||||
# Expose Ports
|
||||
EXPOSE 9876/udp
|
||||
EXPOSE 9877/udp
|
||||
EXPOSE 2169/tcp
|
||||
|
||||
# Running as a bash script works, does not work otherwise
|
||||
COPY ./scripts/init.sh /
|
||||
RUN chmod +x /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 ./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/adminlist.txt /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
||||
# COPY ./config/banlist.txt /root/.wine/drive_c/vrisingserver/VRisingServer_Data/StreamingAssets/Settings/
|
||||
|
||||
# Start the program, check for update, backup configs, etc
|
||||
# COPY ./scripts/start.sh /
|
||||
# RUN chmod +x /start.sh
|
||||
COPY ./scripts/start.sh /
|
||||
RUN chmod +x /start.sh
|
||||
|
||||
# Entry Point Script
|
||||
CMD /vrisingd
|
||||
CMD /start.sh
|
||||
Reference in New Issue
Block a user