| # debian.sh --arch 'amd64' out/ 'bookworm' '@1776729600' |
| LABEL maintainer=espoautos |
| LABEL org.opencontainers.image.source=https://forgejo.espoautos.com/espoautos/xonotic-server |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl ca-certificates unzip libcurl4 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| WORKDIR /opt/xonotic |
| RUN /bin/sh -c curl -sSL -o xonotic.zip "https://dl.xonotic.org/xonotic-0.8.6.zip" && unzip -q xonotic.zip && rm xonotic.zip && chmod +x Xonotic/xonotic-linux64-dedicated # buildkit |
| COPY config/server.cfg /opt/xonotic/Xonotic/data/server.cfg # buildkit |
| EXPOSE map[26000/udp:{}] |
| WORKDIR /opt/xonotic/Xonotic |
| ENTRYPOINT ["./xonotic-linux64-dedicated"] |