mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 21:07:27 +00:00
build: default to Node 24 and keep Node 22 compat
This commit is contained in:
@@ -165,13 +165,13 @@ Common tags:
|
||||
|
||||
The main Docker image currently uses:
|
||||
|
||||
- `node:22-bookworm`
|
||||
- `node:24-bookworm`
|
||||
|
||||
The docker image now publishes OCI base-image annotations (sha256 is an example,
|
||||
and points at the pinned multi-arch manifest list for that tag):
|
||||
|
||||
- `org.opencontainers.image.base.name=docker.io/library/node:22-bookworm`
|
||||
- `org.opencontainers.image.base.digest=sha256:b501c082306a4f528bc4038cbf2fbb58095d583d0419a259b2114b5ac53d12e9`
|
||||
- `org.opencontainers.image.base.name=docker.io/library/node:24-bookworm`
|
||||
- `org.opencontainers.image.base.digest=sha256:3a09aa6354567619221ef6c45a5051b671f953f0a1924d1f819ffb236e520e6b`
|
||||
- `org.opencontainers.image.source=https://github.com/openclaw/openclaw`
|
||||
- `org.opencontainers.image.url=https://openclaw.ai`
|
||||
- `org.opencontainers.image.documentation=https://docs.openclaw.ai/install/docker`
|
||||
@@ -408,7 +408,7 @@ To speed up rebuilds, order your Dockerfile so dependency layers are cached.
|
||||
This avoids re-running `pnpm install` unless lockfiles change:
|
||||
|
||||
```dockerfile
|
||||
FROM node:22-bookworm
|
||||
FROM node:24-bookworm
|
||||
|
||||
# Install Bun (required for build scripts)
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
Reference in New Issue
Block a user