Skip to content

Commit 235e433

Browse files
feat: add python3 and clawhub for openclaw
1 parent 63ccd76 commit 235e433

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openclaw/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ RUN --mount=type=cache,id=openclaw-bookworm-apt-cache,target=/var/cache/apt,shar
135135
apt-get update && \
136136
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --no-install-recommends && \
137137
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
138-
procps hostname curl git openssl
138+
procps hostname curl git openssl python3 python-is-python3
139139

140140
RUN chown node:node /app
141141

@@ -167,6 +167,9 @@ RUN install -d -m 0755 "$COREPACK_HOME" && \
167167
done && \
168168
chmod -R a+rX "$COREPACK_HOME"
169169

170+
RUN npm install -g clawhub@latest && \
171+
npm cache clean --force
172+
170173
# Install additional system packages needed by your skills or extensions.
171174
# Example: docker build --build-arg OPENCLAW_DOCKER_APT_PACKAGES="python3 wget" .
172175
ARG OPENCLAW_DOCKER_APT_PACKAGES=""

0 commit comments

Comments
 (0)