Skip to content

Commit 047ae3e

Browse files
feat: update openclaw Dockerfile
1 parent 0b2d096 commit 047ae3e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

openclaw/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ RUN --mount=type=cache,id=openclaw-bookworm-apt-cache,target=/var/cache/apt,shar
141141
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --no-install-recommends; \
142142
fi && \
143143
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
144-
procps hostname curl git lsof openssl python3 python-is-python3
144+
procps hostname curl git lsof openssl
145145

146146
RUN chown node:node /app
147147

@@ -181,8 +181,10 @@ RUN npm install -g clawhub@latest && \
181181
npm cache clean --force
182182

183183
# Install additional system packages needed by your skills or extensions.
184-
# Example: docker build --build-arg OPENCLAW_DOCKER_APT_PACKAGES="python3 wget" .
185-
ARG OPENCLAW_DOCKER_APT_PACKAGES=""
184+
# The runtime already includes git and curl from the base package set.
185+
# Default extras focus on common media and CLI workflows.
186+
# Example: docker build --build-arg OPENCLAW_DOCKER_APT_PACKAGES="ffmpeg jq python3 python-is-python3 build-essential pkg-config" .
187+
ARG OPENCLAW_DOCKER_APT_PACKAGES="ffmpeg jq python3 python-is-python3"
186188
RUN --mount=type=cache,id=openclaw-bookworm-apt-cache,target=/var/cache/apt,sharing=locked \
187189
--mount=type=cache,id=openclaw-bookworm-apt-lists,target=/var/lib/apt,sharing=locked \
188190
if [ -n "$OPENCLAW_DOCKER_APT_PACKAGES" ]; then \

0 commit comments

Comments
 (0)