Document FORGE_VERSION default and new DISABLED_PATCHES option in README, update Dockerfile to reflect default FORGE_VERSION.
This commit is contained in:
1 parent
94a026093c
commit
c9e41e2c91
2 files changed
+5
-3
No files matched your search
+3
-3
@@ -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=""
|
||||
|
||||
@@ -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 `<forge>-pz<pz>-build<steam buildid>` (immutable),
|
||||
`<forge>-pz<pz>`, and `latest`.
|
||||
|
||||
Reference in new issue
Block a user