fix(docker): re-pin dead ubuntu base image digest

The server stage's ubuntu@sha256:571c2ab1... no longer resolves from
Docker Hub (docker pull by that exact digest returns 'not found',
verified directly, independent of anything in this Dockerfile) --
make verify-phase6 was currently broken for anyone building from a
clean cache. Found while adding a new build stage below it and
actually running the build rather than just editing the file.
Re-pinned to a digest verified to pull, and re-ran the full
make verify-phase6 gate end to end to confirm: both arenas rotated,
both headless clients observed both authoritative goals, clean
teardown.
This commit is contained in:
Josh Creek
2026-09-01 13:38:07 +01:00
parent fd18cf6ac0
commit 9b26f867bc
+6 -2
View File
@@ -29,8 +29,12 @@ RUN sed -i 's|^run/main_scene=.*$|run/main_scene="res://scenes/server_boot.tscn"
&& mkdir -p /opt/cosmic-clash \
&& godot --headless --path Game --export-release "Linux Dedicated Server" /opt/cosmic-clash/CosmicClashServer.x86_64
# ubuntu:24.04 multi-architecture index, resolved 2026-08-29.
FROM --platform=linux/amd64 ubuntu@sha256:571c2ab10651ab3a703fcfcb1b06545f5b53085872dcdf68bed17dd7ef4d72db AS server
# ubuntu:24.04 multi-architecture index, resolved 2026-09-01. The previous
# pin (571c2ab1...) no longer resolves from Docker Hub as of this date --
# `docker pull` by that exact digest returns "not found", meaning
# make verify-phase6 (and this Dockerfile generally) was currently broken for
# anyone building from a clean cache. Re-pinned to a digest verified to pull.
FROM --platform=linux/amd64 ubuntu@sha256:33ceb71981b602c1a7443a53469e4dba065f7503eab3078a2d7a57a2ab987517 AS server
RUN apt-get update && apt-get install -y --no-install-recommends libfontconfig1 libgl1 libstdc++6 && rm -rf /var/lib/apt/lists/*
COPY --from=exporter /opt/cosmic-clash/ /opt/cosmic-clash/
COPY deploy/cosmic-clash-server /opt/cosmic-clash/cosmic-clash-server