Add ModCheckTest to test runtime mod validations and entry point superclass checks. Include Gradle verification metadata for dependency integrity.

This commit is contained in:
Overlord committed 2026-10-03 09:59:47 +02:00
1 parent 18ff32b5ce
commit 6761f2d9ea
29 files changed
+1306 -72

No files matched your search

+6 -3
View File
@@ -29,8 +29,11 @@ ARG STEAMCLIENT=bundled
ARG FORGE_VERSION="0.0.0-prerelease"
ARG STEAM_BUILDID=""
# Base images are pinned by digest; the tag in front of the digest is for readers only.
# The same steamcmd image is in ci/steam-buildid.sh and the Gradle plugin's DownloadGame.
# --- Stage 1: vanilla dedicated server -----------------------------------------
FROM docker.io/steamcmd/steamcmd:debian-13 AS server
FROM docker.io/steamcmd/steamcmd:debian-13@sha256:b0b49ef3101c304ed6e3fbc3ea930b2940d7c489563a1ebac524ad5bb46d336d AS server
# steamcmd updates itself on its first run. This runs in its own layer so the
# update is cached and separate from the app installation.
@@ -42,7 +45,7 @@ COPY docker/install-server.sh /usr/local/bin/install-server
RUN install-server /server "${PZ_BRANCH}" "${STEAMCLIENT}"
# --- Stage 2: ZomboidForge sources and Gradle -----------------------------------
FROM docker.io/library/eclipse-temurin:25-jdk AS sources
FROM docker.io/library/eclipse-temurin:25-jdk@sha256:8c0a84ea11c8f6ed52600fc19f1040121f2a162998e9f50a5faebbbad9172dcc AS sources
WORKDIR /src
# Gradle distribution download, cached independently of the sources.
@@ -102,7 +105,7 @@ RUN ./gradlew --no-daemon \
build -x :gradle-plugin:test :patcher:patchServerJar
# --- Stage 4: runtime ------------------------------------------------------------
FROM docker.io/library/debian:trixie-slim
FROM docker.io/library/debian:trixie-slim@sha256:a99cfc517144bc59b1978475ec53b46ecabec7e43635402ee5b77cc54cd1b20a
# ca-certificates: required by steamclient.so to connect to Steam.
# sqlite3: the entrypoint checks the admin account in the server database.