mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-14 10:12:05 +00:00
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:
+6
-2
@@ -29,8 +29,12 @@ RUN sed -i 's|^run/main_scene=.*$|run/main_scene="res://scenes/server_boot.tscn"
|
|||||||
&& mkdir -p /opt/cosmic-clash \
|
&& mkdir -p /opt/cosmic-clash \
|
||||||
&& godot --headless --path Game --export-release "Linux Dedicated Server" /opt/cosmic-clash/CosmicClashServer.x86_64
|
&& 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.
|
# ubuntu:24.04 multi-architecture index, resolved 2026-09-01. The previous
|
||||||
FROM --platform=linux/amd64 ubuntu@sha256:571c2ab10651ab3a703fcfcb1b06545f5b53085872dcdf68bed17dd7ef4d72db AS server
|
# 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/*
|
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 --from=exporter /opt/cosmic-clash/ /opt/cosmic-clash/
|
||||||
COPY deploy/cosmic-clash-server /opt/cosmic-clash/cosmic-clash-server
|
COPY deploy/cosmic-clash-server /opt/cosmic-clash/cosmic-clash-server
|
||||||
|
|||||||
Reference in New Issue
Block a user