build(frontend-builder): bump default PROTOC_GEN_ES_VERSION to 2.12.0
The 2.4.0 default crashed at runtime with "protoc-gen-es: Cannot read properties of undefined (reading 'length')" when buf v1.55 invoked it. 2.12.x is current and has no such issue. KollectAI-ETL's CI no longer relies on the image's globally-installed plugin (the proto-gen workflow now does `pnpm install` in proto/ and runs `pnpm exec buf generate` to use the lockfile-pinned version), so this is mainly housekeeping for ad-hoc use inside the container. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>main
parent
f9fb4ce4cd
commit
13d778dc61
|
|
@ -18,9 +18,11 @@ FROM node:${NODE_MAJOR}-bookworm-slim
|
||||||
|
|
||||||
ARG PNPM_VERSION=10.15.0
|
ARG PNPM_VERSION=10.15.0
|
||||||
ARG BUF_VERSION=1.55.0
|
ARG BUF_VERSION=1.55.0
|
||||||
# Pin protoc-gen-es to a known-good major. Bump in lockstep with the
|
# Pin protoc-gen-es to a known-good version. The KollectAI-ETL CI
|
||||||
# frontend's @bufbuild/protobuf runtime version in package.json.
|
# workflow doesn't actually use this global install (it does
|
||||||
ARG PROTOC_GEN_ES_VERSION=2.4.0
|
# `pnpm install` from proto/ to pick up the lockfile-pinned version)
|
||||||
|
# but we still bake it for ad-hoc use inside the container.
|
||||||
|
ARG PROTOC_GEN_ES_VERSION=2.12.0
|
||||||
ARG ORAS_VERSION=1.2.2
|
ARG ORAS_VERSION=1.2.2
|
||||||
|
|
||||||
# ─────────────────────────────────────────────────────────────────────
|
# ─────────────────────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ docker push 192.168.1.72/kollect-tools/ci/frontend-builder:latest
|
||||||
| `NODE_MAJOR` | `24` | Node.js major version (matches Node base image) |
|
| `NODE_MAJOR` | `24` | Node.js major version (matches Node base image) |
|
||||||
| `PNPM_VERSION` | `10.15.0` | pnpm version (corepack-activated) |
|
| `PNPM_VERSION` | `10.15.0` | pnpm version (corepack-activated) |
|
||||||
| `BUF_VERSION` | `1.55.0` | buf CLI version |
|
| `BUF_VERSION` | `1.55.0` | buf CLI version |
|
||||||
| `PROTOC_GEN_ES_VERSION` | `2.4.0` | `@bufbuild/protoc-gen-es` version (bump in lockstep with frontend's `@bufbuild/protobuf` runtime) |
|
| `PROTOC_GEN_ES_VERSION` | `2.12.0` | `@bufbuild/protoc-gen-es` version (ad-hoc use only — KollectAI-ETL CI uses the version pinned in `proto/pnpm-lock.yaml`) |
|
||||||
| `ORAS_VERSION` | `1.2.2` | ORAS CLI version |
|
| `ORAS_VERSION` | `1.2.2` | ORAS CLI version |
|
||||||
|
|
||||||
## Usage in CI
|
## Usage in CI
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue