Skip to content

Commit b7053c1

Browse files
chore(openclaw): update to 2026.11.5
1 parent 9cd5ec5 commit b7053c1

2 files changed

Lines changed: 30 additions & 26 deletions

File tree

‎.github/workflows/openclaw-release.yml‎

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
workflow_dispatch:
99
inputs:
1010
openclawTag:
11-
default: "2026.11.4"
12-
description: "Upstream OpenClaw release without v, for example 2026.11.1"
11+
default: "2026.11.5"
12+
description: "Upstream OpenClaw release without v, for example 2026.11.5"
1313
required: true
1414
dockerTag:
15-
description: "Docker Hub tag; leave empty to use the release (test example: 2026.10.9-feishu-test.1)"
15+
description: "Docker Hub tag; leave empty to use the release (test example: 2026.11.5-feishu-test.1)"
1616
required: false
1717
pushLatest:
1818
description: "Also push latest tag"
@@ -113,13 +113,16 @@ jobs:
113113
test -d _src/openclaw/examples || { echo "::error::OpenClaw source is missing examples/. Check openclawTag matches this Dockerfile."; exit 1; }
114114
test -d _src/openclaw/packages || { echo "::error::OpenClaw source is missing packages/. Check openclawTag matches this Dockerfile."; exit 1; }
115115
test -f _src/openclaw/node-version.mjs || { echo "::error::OpenClaw source is missing node-version.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
116-
for required_file in cli-root-options.mjs gateway-run-argv.mjs gateway-shutdown-budget.mjs node-host-launcher.mjs node-compile-cache.mjs node-runtime-env.mjs docker-entrypoint.mjs scripts/lib/fs-safe-prebuild.mjs scripts/lib/javascript-statements.mjs scripts/docker/copy-bootstrap-scripts.mjs scripts/lib/guard-inventory-utils.mjs; do
116+
for required_file in \
117+
node-sqlite-capabilities.mjs runtime-process-bootstrap.generated.mjs runtime-process-scripts.generated.mjs cli-parent-lifetime.mjs cli-invocation.mjs \
118+
cli-root-options.mjs gateway-run-argv.mjs gateway-shutdown-budget.mjs node-host-launcher.mjs node-compile-cache.mjs node-runtime-env.mjs docker-entrypoint.mjs \
119+
scripts/lib/fs-safe-prebuild.mjs scripts/lib/fs-safe-npm-cli-preload.generated.mjs scripts/lib/fs-safe-npm-cli-protocol.mjs \
120+
scripts/lib/javascript-statements.mjs scripts/docker/copy-bootstrap-scripts.mjs scripts/lib/guard-inventory-utils.mjs; do
117121
test -f "_src/openclaw/$required_file" || { echo "::error::OpenClaw source is missing $required_file. Check openclawTag matches this Dockerfile."; exit 1; }
118122
done
119123
test -f _src/openclaw/scripts/docker/verify-native-addons.sh || { echo "::error::OpenClaw source is missing scripts/docker/verify-native-addons.sh. Check openclawTag matches this Dockerfile."; exit 1; }
120124
test -f _src/openclaw/scripts/lib/docker-plugin-selection.mjs || { echo "::error::OpenClaw source is missing scripts/lib/docker-plugin-selection.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
121125
test -f _src/openclaw/scripts/prune-docker-plugin-dist.mjs || { echo "::error::OpenClaw source is missing scripts/prune-docker-plugin-dist.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
122-
test -d _src/openclaw/extensions/canvas/src/host || { echo "::error::OpenClaw source is missing extensions/canvas/src/host/. Check openclawTag matches this Dockerfile."; exit 1; }
123126
mkdir -p _src/openclaw/openclaw
124127
cp openclaw/Dockerfile openclaw/docker-entrypoint.sh _src/openclaw/openclaw/
125128
@@ -166,13 +169,16 @@ jobs:
166169
test -d _src/openclaw/examples || { echo "::error::OpenClaw source is missing examples/. Check openclawTag matches this Dockerfile."; exit 1; }
167170
test -d _src/openclaw/packages || { echo "::error::OpenClaw source is missing packages/. Check openclawTag matches this Dockerfile."; exit 1; }
168171
test -f _src/openclaw/node-version.mjs || { echo "::error::OpenClaw source is missing node-version.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
169-
for required_file in cli-root-options.mjs gateway-run-argv.mjs gateway-shutdown-budget.mjs node-host-launcher.mjs node-compile-cache.mjs node-runtime-env.mjs docker-entrypoint.mjs scripts/lib/fs-safe-prebuild.mjs scripts/lib/javascript-statements.mjs scripts/docker/copy-bootstrap-scripts.mjs scripts/lib/guard-inventory-utils.mjs; do
172+
for required_file in \
173+
node-sqlite-capabilities.mjs runtime-process-bootstrap.generated.mjs runtime-process-scripts.generated.mjs cli-parent-lifetime.mjs cli-invocation.mjs \
174+
cli-root-options.mjs gateway-run-argv.mjs gateway-shutdown-budget.mjs node-host-launcher.mjs node-compile-cache.mjs node-runtime-env.mjs docker-entrypoint.mjs \
175+
scripts/lib/fs-safe-prebuild.mjs scripts/lib/fs-safe-npm-cli-preload.generated.mjs scripts/lib/fs-safe-npm-cli-protocol.mjs \
176+
scripts/lib/javascript-statements.mjs scripts/docker/copy-bootstrap-scripts.mjs scripts/lib/guard-inventory-utils.mjs; do
170177
test -f "_src/openclaw/$required_file" || { echo "::error::OpenClaw source is missing $required_file. Check openclawTag matches this Dockerfile."; exit 1; }
171178
done
172179
test -f _src/openclaw/scripts/docker/verify-native-addons.sh || { echo "::error::OpenClaw source is missing scripts/docker/verify-native-addons.sh. Check openclawTag matches this Dockerfile."; exit 1; }
173180
test -f _src/openclaw/scripts/lib/docker-plugin-selection.mjs || { echo "::error::OpenClaw source is missing scripts/lib/docker-plugin-selection.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
174181
test -f _src/openclaw/scripts/prune-docker-plugin-dist.mjs || { echo "::error::OpenClaw source is missing scripts/prune-docker-plugin-dist.mjs. Check openclawTag matches this Dockerfile."; exit 1; }
175-
test -d _src/openclaw/extensions/canvas/src/host || { echo "::error::OpenClaw source is missing extensions/canvas/src/host/. Check openclawTag matches this Dockerfile."; exit 1; }
176182
mkdir -p _src/openclaw/openclaw
177183
cp openclaw/Dockerfile openclaw/docker-entrypoint.sh _src/openclaw/openclaw/
178184

‎openclaw/Dockerfile‎

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,14 @@ WORKDIR /app
7171
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
7272
COPY node-version.mjs ./
7373
COPY node-sqlite.mjs ./
74+
COPY node-sqlite-capabilities.mjs ./
75+
COPY runtime-process-bootstrap.generated.mjs ./
76+
COPY runtime-process-scripts.generated.mjs ./
7477
COPY node-runtime-update.mjs ./
7578
COPY node-runtime-recovery.mjs ./
79+
COPY cli-parent-lifetime.mjs ./
7680
COPY node-runtime-env.mjs ./
81+
COPY cli-invocation.mjs ./
7782
COPY cli-root-options.mjs gateway-run-argv.mjs gateway-shutdown-budget.mjs ./
7883
COPY node-host-launcher.mjs ./
7984
COPY node-compile-cache.mjs ./
@@ -87,6 +92,8 @@ COPY scripts/lib/package-dist-imports.mjs ./scripts/lib/package-dist-imports.mjs
8792
COPY scripts/lib/javascript-statements.mjs ./scripts/lib/javascript-statements.mjs
8893
COPY scripts/lib/package-lifecycle-marker.mjs ./scripts/lib/package-lifecycle-marker.mjs
8994
COPY scripts/lib/fs-safe-prebuild.mjs ./scripts/lib/fs-safe-prebuild.mjs
95+
COPY scripts/lib/fs-safe-npm-cli-preload.generated.mjs ./scripts/lib/fs-safe-npm-cli-preload.generated.mjs
96+
COPY scripts/lib/fs-safe-npm-cli-protocol.mjs ./scripts/lib/fs-safe-npm-cli-protocol.mjs
9097
COPY scripts/docker/verify-fs-safe-native.mjs ./scripts/docker/verify-fs-safe-native.mjs
9198
COPY scripts/docker/verify-native-addons.sh ./scripts/docker/verify-native-addons.sh
9299

@@ -152,15 +159,6 @@ RUN for dir in /app/${OPENCLAW_BUNDLED_PLUGIN_DIR} /app/.agent /app/.agents; do
152159
fi; \
153160
done
154161

155-
# A2UI bundle may fail under QEMU cross-compilation (e.g. building amd64
156-
# on Apple Silicon). CI builds natively per-arch so this is a no-op there.
157-
# Stub it so local cross-arch builds still succeed.
158-
RUN pnpm_config_verify_deps_before_run=false pnpm canvas:a2ui:bundle || \
159-
(echo "A2UI bundle: creating stub (non-fatal)" && \
160-
mkdir -p extensions/canvas/src/host/a2ui && \
161-
echo "/* A2UI bundle unavailable in this build */" > extensions/canvas/src/host/a2ui/a2ui.bundle.js && \
162-
echo "stub" > extensions/canvas/src/host/a2ui/.bundle.hash && \
163-
rm -rf vendor/a2ui apps/shared/OpenClawKit/Tools/CanvasA2UI)
164162
# Force pnpm for UI build (Bun may fail on ARM/Synology architectures)
165163
ENV OPENCLAW_PREFER_PNPM=1
166164
# Correction-release sources keep the base package version; release images
@@ -270,14 +268,14 @@ LABEL org.opencontainers.image.source="https://github.com/openclaw/openclaw" \
270268

271269
WORKDIR /app
272270

273-
# Install runtime utilities and the OpenMP library required by llama-server.
271+
# Install runtime utilities, SQLite repair tools, and OpenMP for llama-server.
274272
# Apply current Debian security fixes even when the pinned base is older.
275273
RUN --mount=type=cache,id=openclaw-bookworm-apt-cache,target=/var/cache/apt,sharing=locked \
276274
--mount=type=cache,id=openclaw-bookworm-apt-lists,target=/var/lib/apt,sharing=locked \
277275
apt-get update && \
278276
DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y && \
279277
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
280-
ca-certificates curl git hostname libgomp1 lsof openssh-client openssl procps python3 tini && \
278+
acl ca-certificates curl e2fsprogs git hostname libgomp1 lsof openssh-client openssl procps psmisc python3 tini && \
281279
update-ca-certificates
282280

283281
# Refresh npm's runtime dependency tree without installing development tools.
@@ -300,9 +298,14 @@ COPY --from=runtime-assets --chown=node:node /app/pnpm-workspace.yaml .
300298
COPY --from=runtime-assets --chown=node:node /app/patches ./patches
301299
COPY --from=runtime-assets --chown=node:node /app/node-version.mjs .
302300
COPY --from=runtime-assets --chown=node:node /app/node-sqlite.mjs .
301+
COPY --from=runtime-assets --chown=node:node /app/node-sqlite-capabilities.mjs .
302+
COPY --from=runtime-assets --chown=node:node /app/runtime-process-bootstrap.generated.mjs .
303+
COPY --from=runtime-assets --chown=node:node /app/runtime-process-scripts.generated.mjs .
303304
COPY --from=runtime-assets --chown=node:node /app/node-runtime-update.mjs .
304305
COPY --from=runtime-assets --chown=node:node /app/node-runtime-recovery.mjs .
306+
COPY --from=runtime-assets --chown=node:node /app/cli-parent-lifetime.mjs .
305307
COPY --from=runtime-assets --chown=node:node /app/node-runtime-env.mjs .
308+
COPY --from=runtime-assets --chown=node:node /app/cli-invocation.mjs .
306309
COPY --from=runtime-assets --chown=node:node /app/cli-root-options.mjs /app/gateway-run-argv.mjs /app/gateway-shutdown-budget.mjs ./
307310
COPY --from=runtime-assets --chown=node:node /app/node-host-launcher.mjs .
308311
COPY --from=runtime-assets --chown=node:node /app/node-compile-cache.mjs .
@@ -481,19 +484,14 @@ USER node
481484
# Verify the shipped toolchain needs no privileged writes or first-run downloads.
482485
RUN COREPACK_ENABLE_NETWORK=0 PNPM_CONFIG_OFFLINE=true pnpm --version
483486

484-
# Start gateway server with default config.
485-
# Binds to loopback (127.0.0.1) by default for security.
486-
#
487-
# IMPORTANT: With Docker bridge networking (-p 18789:18789), loopback bind
488-
# makes the gateway unreachable from the host. Either:
489-
# - Use --network host, OR
490-
# - Override --bind to "lan" (0.0.0.0) and set auth credentials
487+
# With no bind configured, the gateway defaults to auto inside containers.
488+
# Non-loopback startup requires authentication. Set gateway.bind to loopback
489+
# for a loopback-only listener.
491490
#
492491
# Built-in probe endpoints for container health checks:
493492
# - GET /healthz (liveness), GET /startupz (startup/traffic admission),
494493
# and GET /readyz (channel-aware readiness)
495494
# - aliases: /health, /startup, and /ready
496-
# For external access from host/ingress, override bind to "lan" and set auth.
497495
HEALTHCHECK --interval=3m --timeout=10s --start-period=15s --retries=3 \
498496
CMD ["node", "dist/docker-healthcheck.js"]
499497

0 commit comments

Comments
 (0)