Add verifiable atomic server updates

This commit is contained in:
Alexander Sellite 2026-08-11 10:37:03 -04:00
parent 2d135acab7
commit a68d6157be
8 changed files with 371 additions and 24 deletions

View file

@ -9,12 +9,16 @@ RUN groupadd --system --gid 10001 netfishing \
COPY --chown=netfishing:netfishing \
dist/NETfishingServer.x86_64 \
dist/NETfishingServer.pck \
dist/BUILD_INFO \
dist/SHA256SUMS \
/opt/netfishing-server/
COPY --chown=netfishing:netfishing \
config/server.cfg.example /etc/netfishing-server.cfg
RUN chmod 0555 /opt/netfishing-server/NETfishingServer.x86_64 \
&& chmod 0444 /opt/netfishing-server/NETfishingServer.pck \
/opt/netfishing-server/BUILD_INFO \
/opt/netfishing-server/SHA256SUMS \
/etc/netfishing-server.cfg
USER 10001:10001