build: install curl in the claw and sandboxd images

The runtime layer ships bash, git and tar for the shells the agent
runs, but no HTTP client: a turn asked to fetch a URL had nothing to
fetch with. curl joins the same apt line in both images;
ca-certificates was already in the list, so HTTPS needs nothing else.

Checked against debian:stable-slim: the line installs curl 8.14.1 and
an HTTPS fetch resolves.
This commit is contained in:
vhaudiquet committed 2026-11-22 02:39:00 +01:00
1 parent b69bf543e7
commit 2ff791ed89
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ FROM debian:stable-slim
# bash and git are load-bearing, not conveniences: the coding agent shells
# out via `bash -c` and clones/fetches in its per-thread workspaces.
RUN apt-get update \
&& apt-get install -y --no-install-recommends bash git tar ca-certificates \
&& apt-get install -y --no-install-recommends bash curl git tar ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Numeric USER: Kubernetes cannot verify runAsNonRoot against a name.