Rebrand dedicated server as straywild

This commit is contained in:
Alexander Sellite 2026-08-25 17:14:33 -04:00
parent 481997b42c
commit c1b228475d
14 changed files with 132 additions and 132 deletions

View file

@ -3,37 +3,37 @@ FROM debian:bookworm-slim
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd --system --gid 10001 netfishing \
&& useradd --system --uid 10001 --gid netfishing \
--home-dir /var/lib/netfishing-server netfishing \
&& install -d -o netfishing -g netfishing \
/opt/netfishing-server /var/lib/netfishing-server
&& groupadd --system --gid 10001 straywild \
&& useradd --system --uid 10001 --gid straywild \
--home-dir /var/lib/straywild-server straywild \
&& install -d -o straywild -g straywild \
/opt/straywild-server /var/lib/straywild-server
COPY --chown=netfishing:netfishing \
dist/NETfishingServer.x86_64 \
dist/NETfishingServer.pck \
COPY --chown=straywild:straywild \
dist/straywildServer.x86_64 \
dist/straywildServer.pck \
dist/BUILD_INFO \
dist/SOURCE-CODE.md \
dist/SHA256SUMS \
/opt/netfishing-server/
COPY --chown=netfishing:netfishing \
config/server.cfg.example /etc/netfishing-server.cfg
COPY --chown=netfishing:netfishing \
/opt/straywild-server/
COPY --chown=straywild:straywild \
config/server.cfg.example /etc/straywild-server.cfg
COPY --chown=straywild:straywild \
dist/licenses/ \
/opt/netfishing-server/licenses/
/opt/straywild-server/licenses/
RUN chmod 0555 /opt/netfishing-server/NETfishingServer.x86_64 \
&& chmod 0444 /opt/netfishing-server/NETfishingServer.pck \
/opt/netfishing-server/BUILD_INFO \
/opt/netfishing-server/SOURCE-CODE.md \
/opt/netfishing-server/SHA256SUMS \
/etc/netfishing-server.cfg \
&& chmod 0444 /opt/netfishing-server/licenses/*
RUN chmod 0555 /opt/straywild-server/straywildServer.x86_64 \
&& chmod 0444 /opt/straywild-server/straywildServer.pck \
/opt/straywild-server/BUILD_INFO \
/opt/straywild-server/SOURCE-CODE.md \
/opt/straywild-server/SHA256SUMS \
/etc/straywild-server.cfg \
&& chmod 0444 /opt/straywild-server/licenses/*
USER 10001:10001
WORKDIR /opt/netfishing-server
VOLUME ["/var/lib/netfishing-server"]
WORKDIR /opt/straywild-server
VOLUME ["/var/lib/straywild-server"]
EXPOSE 7777/udp
ENTRYPOINT ["/opt/netfishing-server/NETfishingServer.x86_64"]
CMD ["--", "--config=/etc/netfishing-server.cfg"]
ENTRYPOINT ["/opt/straywild-server/straywildServer.x86_64"]
CMD ["--", "--config=/etc/straywild-server.cfg"]