build: Update libraries to latest version
This commit is contained in:
@@ -5,7 +5,7 @@ Pre-baked build environment for KollectAI-ETL frontend (SvelteKit) CI jobs and p
|
||||
## What's included
|
||||
|
||||
- Node.js 24 (`node:24-bookworm-slim`)
|
||||
- pnpm 10 (via corepack)
|
||||
- pnpm 11 (via corepack)
|
||||
- [buf](https://buf.build) CLI — for `buf lint` and `buf generate`
|
||||
- [`@bufbuild/protoc-gen-es`](https://www.npmjs.com/package/@bufbuild/protoc-gen-es) — installed globally so `buf` v2 `local: protoc-gen-es` resolves via PATH (no BSR remote-plugin calls)
|
||||
- Playwright chromium runtime libraries pre-installed (`libnss3`, `libgbm1`, `libasound2`, etc.)
|
||||
@@ -16,8 +16,8 @@ Pre-baked build environment for KollectAI-ETL frontend (SvelteKit) CI jobs and p
|
||||
## Build
|
||||
|
||||
```bash
|
||||
docker build -t 192.168.1.72/kollect-tools/ci/frontend-builder:latest ci/frontend-builder/
|
||||
docker push 192.168.1.72/kollect-tools/ci/frontend-builder:latest
|
||||
docker build -t kcr.kollect.biz/kollect-tools/ci/frontend-builder:latest ci/frontend-builder/
|
||||
docker push kcr.kollect.biz/kollect-tools/ci/frontend-builder:latest
|
||||
```
|
||||
|
||||
### Build args
|
||||
@@ -25,11 +25,11 @@ docker push 192.168.1.72/kollect-tools/ci/frontend-builder:latest
|
||||
| Arg | Default | Description |
|
||||
|-----|---------|-------------|
|
||||
| `NODE_MAJOR` | `24` | Node.js major version (matches Node base image) |
|
||||
| `PNPM_VERSION` | `10.15.0` | pnpm version (corepack-activated) |
|
||||
| `BUF_VERSION` | `1.55.0` | buf CLI version |
|
||||
| `PNPM_VERSION` | `11.0.1` | pnpm version (corepack-activated) |
|
||||
| `BUF_VERSION` | `1.69.0` | buf CLI version |
|
||||
| `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`) |
|
||||
| `PLAYWRIGHT_VERSION` | `1.59.1` | Playwright version. Must match `frontend/svelte/package.json` `@playwright/test`; mismatch causes runtime browser re-download |
|
||||
| `ORAS_VERSION` | `1.2.2` | ORAS CLI version |
|
||||
| `ORAS_VERSION` | `1.3.2` | ORAS CLI version |
|
||||
|
||||
## Usage in CI
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
test-unit:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: 192.168.1.72/kollect-tools/ci/frontend-builder:latest
|
||||
image: kcr.kollect.biz/kollect-tools/ci/frontend-builder:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user