vale-source — Vale prose linter built from source on hi/go for CVE-cleaner supply chain
126
Vale prose / style linter. This is the from-source Tier 1 variant — built ourselves on hi/go:latest-builder rather than consuming the upstream-shipped pre-built binary. The sibling vale image (Tier 2 binary) is the canonical vale; this image is the CVE-cleaner alternative.
The Tier 2 binary vale image is built from the upstream-published vale_3.14.2_Linux_64-bit.tar.gz tarball. That binary's Go stdlib version is whatever Go shipped when the vale maintainers cut the release — and there's no way for us to change it. When a Go stdlib CVE drops (e.g., CVE-2026-27143, fixed in go1.25.9 / 1.26.2), the upstream binary stays vulnerable until vale maintainers cut a NEW release rebuilt on patched Go.
vale-source builds Vale from source on hi/go:latest-builder (Go 1.26.3 as of v1.58.0) — Go version we control via the monthly RHHI rebuild cadence. When a Go stdlib patch ships, the next monthly rebuild picks it up and Vale rebuilds against the patched Go automatically.
The CGO + tree-sitter dependency means this image's build is heavier than other Tier 1 Go tools:
gcc-c++ + glibc-static + libstdc++-static via microdnf so g++ can compile the bundled tree-sitter C/C++ parsers.-linkmode=external -extldflags=-static so the final binary is fully static and runs on hi/core-runtime distroless without glibc / libstdc++ at runtime.The behavioral surface is identical — vale-source consumes the same .vale.ini configs and produces the same JSON/CLI output as the Tier 2 binary.
# Run vale against a directory mounted at /repo
podman run --rm -v "$(pwd):/repo:ro,Z" --workdir /repo vale-source:<version>-rhhi --output=JSON path/to/file.md
Identical CLI surface to the Tier 2 vale image.
registry.access.redhat.com/hi/go:latest-builder (build) → registry.access.redhat.com/hi/core-runtime (runtime — distroless)github.com/errata-ai/vale.git at v3.14.2 (commit 810868b21c6c88cf78dfb8960b1afc78d1b7f6a8)vale image which is Tier 2 (upstream binary release)The Tier 2 vale image stays as the canonical vale build, currently shipping with SCAN_FAIL_SEVERITY: "none" (warn-only) on its grype gate because the upstream binary carries CVE-2026-27143. Once vale-source proves itself in production use, the Tier 2 build can be retired or the warn-only override removed.
Content type
Image
Digest
sha256:dd47cbff4…
Size
25.3 MB
Last updated
4 months ago
docker pull timothyswan/vale-source:v3.14.2-rhhi