Skip to content

Commit 720ae26

Browse files
feat: update openclaw Dockerfile
1 parent 5c3b66a commit 720ae26

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Key points:
1818

1919
1. It follows official OpenClaw releases and builds from upstream tags
2020
2. It stays close to the upstream OpenClaw Docker build flow while adding a small set of 1Panel-specific runtime dependencies
21-
3. It includes `clawhub` and a curated default `OPENCLAW_DOCKER_APT_PACKAGES` set for common media and scripting workflows
21+
3. It includes `clawhub`, `skillhub`, and a curated default `OPENCLAW_DOCKER_APT_PACKAGES` set for common media and scripting workflows
2222

2323
## Security
2424

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
1. 跟随 OpenClaw 官方版本发布节奏,按 tag 拉取上游源码进行构建
2020
2. 尽量保持与 OpenClaw 上游 Docker 构建流程一致,只保留少量 1Panel 所需的运行时定制
21-
3. 内置 `clawhub`,并提供一组适合常见媒体处理和脚本场景的默认 `OPENCLAW_DOCKER_APT_PACKAGES`
21+
3. 内置 `clawhub``skillhub`,并提供一组适合常见媒体处理和脚本场景的默认 `OPENCLAW_DOCKER_APT_PACKAGES`
2222

2323
## 安全性
2424

openclaw/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ RUN install -d -m 0755 "$COREPACK_HOME" && \
174174
RUN npm install -g clawhub@latest && \
175175
npm cache clean --force
176176

177+
RUN install -d -o node -g node /home/node/.local/bin && \
178+
su -s /bin/sh node -c 'curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --no-skills' && \
179+
ln -sf /home/node/.local/bin/skillhub /usr/local/bin/skillhub && \
180+
chmod 755 /usr/local/bin/skillhub
181+
177182
# Install additional system packages needed by your skills or extensions.
178183
# The runtime already includes git and curl from the base package set.
179184
# Default extras focus on common media and CLI workflows.

0 commit comments

Comments
 (0)