cyberdeck-urt/server/Dockerfile
orca 0a99c4d0a8 cyberdeck-urt: endless Urban Terror bot arena (server image, companion, deploy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 18:22:54 -05:00

15 lines
713 B
Docker

# The Urban Terror 4.3.4 bot arena server (Mac mini, UDP 27961).
#
# The image is only the start script. The game itself (freeware, ~1.5 GB) is downloaded from
# Frozen Sand's CDN into the urt-data volume on first start and checked against a pinned hash,
# so rebuilding the image never re-downloads it. Built and run by ../deploy.py.
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl unzip \
&& rm -rf /var/lib/apt/lists/* \
&& useradd -m -u 1000 urt && mkdir -p /data && chown urt /data
COPY entrypoint.sh /entrypoint.sh
COPY cyberdeck-urt.cfg mapcycle.txt /config/
USER urt
ENV URT_PORT=27961
EXPOSE 27961/udp
ENTRYPOINT ["/entrypoint.sh"]