diff --git a/Dockerfile b/Dockerfile index 6ea2e67..c4ad651 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ARG PZ_BRANCH=public ARG PZ_VERSION="" ARG STEAMCLIENT=bundled -ARG FORGE_VERSION="" +ARG FORGE_VERSION="0.0.0-prerelease" ARG STEAM_BUILDID="" # --- Stage 1: vanilla dedicated server ----------------------------------------- @@ -53,8 +53,8 @@ COPY agent agent COPY patcher patcher COPY --from=server /server/java/projectzomboid.jar /pz/projectzomboid.jar -# An empty PZ_VERSION keeps pz.version from gradle.properties; an empty FORGE_VERSION gives -# the build the fallback version 0.0.0-prerelease (the image has no git history). +# An empty PZ_VERSION keeps pz.version from gradle.properties. FORGE_VERSION always has a +# value (default 0.0.0-prerelease): this stage has no git, so the version cannot come from a tag. ARG PZ_VERSION ARG FORGE_VERSION ARG DISABLED_PATCHES="" diff --git a/README.md b/README.md index 4312723..80817cd 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ podman build --platform linux/amd64 -t zomboidforge . # or: docker build ... | `PZ_BRANCH` | `public` | Steam branch: `public`, `unstable`, or a version branch such as `42.19` | | `PZ_VERSION` | `pz.version` | Expected Project Zomboid version | | `STEAMCLIENT` | `bundled` | `steamcmd` replaces the server's `steamclient.so` files with steamcmd's newer copies (workaround for failing Workshop downloads) | +| `FORGE_VERSION` | `0.0.0-prerelease` | ZomboidForge version (jar manifest, image label). The build stage has no `git`, so the version is never read from a tag there; `ci/release.sh` passes it | +| `DISABLED_PATCHES` | | Comma-separated simple class names of build-time patches to skip (debug builds only), e.g. `IsoZombieVehiclePerformancePatch` | Published images are tagged `-pz-build` (immutable), `-pz`, and `latest`.