mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-16 18:22:01 +00:00
fix(multiplayer): refresh dedicated server build base
This commit is contained in:
+9
-9
@@ -3,9 +3,10 @@
|
|||||||
# barichello/godot-ci:4.7.1 (linux/amd64), resolved 2026-08-29.
|
# barichello/godot-ci:4.7.1 (linux/amd64), resolved 2026-08-29.
|
||||||
FROM --platform=linux/amd64 barichello/godot-ci@sha256:622e5ca81b54cd8038ecf7de5d157b47efc800d7cf635af2eec18a6aee4bab7e AS project-imported
|
FROM --platform=linux/amd64 barichello/godot-ci@sha256:622e5ca81b54cd8038ecf7de5d157b47efc800d7cf635af2eec18a6aee4bab7e AS project-imported
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
RUN apt-get update \
|
# The pinned headless Godot image already runs imports without fontconfig.
|
||||||
&& apt-get install -y --no-install-recommends libfontconfig1 \
|
# Do not refresh its old Ubuntu archive here: its historical keyring rejects
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
# current Noble signatures, while this source-only import stage needs no OS
|
||||||
|
# packages at all.
|
||||||
COPY Game /workspace/Game
|
COPY Game /workspace/Game
|
||||||
# `--import` starts the editor, waits for resource import to finish, then
|
# `--import` starts the editor, waits for resource import to finish, then
|
||||||
# exits. Do not combine it with `--quit`, which ends the editor after one
|
# exits. Do not combine it with `--quit`, which ends the editor after one
|
||||||
@@ -29,12 +30,11 @@ 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-09-01. The previous
|
# ubuntu:noble linux/amd64 manifest, resolved 2026-09-03. The prior pin
|
||||||
# pin (571c2ab1...) no longer resolves from Docker Hub as of this date --
|
# carried an obsolete archive keyring and rejected current Noble signatures
|
||||||
# `docker pull` by that exact digest returns "not found", meaning
|
# during apt-get update. This remains a digest pin; package verification is
|
||||||
# make verify-phase6 (and this Dockerfile generally) was currently broken for
|
# deliberately not bypassed.
|
||||||
# anyone building from a clean cache. Re-pinned to a digest verified to pull.
|
FROM --platform=linux/amd64 ubuntu@sha256:1e0a86e57d247923571b75e0aaf48a1449cf8c543d51fb3e07a4a7d7bfa79316 AS server
|
||||||
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