forked from vhaudiquet/rhema-claw
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:
1 parent
b69bf543e7
commit
2ff791ed89
2 files changed
+2
-2
No files matched your search
@@ -48,7 +48,7 @@ FROM debian:stable-slim
|
|||||||
# bash and git are load-bearing, not conveniences: the coding agent shells
|
# bash and git are load-bearing, not conveniences: the coding agent shells
|
||||||
# out via `bash -c` and clones/fetches in its per-thread workspaces.
|
# out via `bash -c` and clones/fetches in its per-thread workspaces.
|
||||||
RUN apt-get update \
|
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/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Numeric USER: Kubernetes cannot verify runAsNonRoot against a name.
|
# Numeric USER: Kubernetes cannot verify runAsNonRoot against a name.
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ FROM debian:stable-slim
|
|||||||
# load-bearing too: a `{git}` seed is a `git clone` (tarball seeds need
|
# load-bearing too: a `{git}` seed is a `git clone` (tarball seeds need
|
||||||
# neither).
|
# neither).
|
||||||
RUN apt-get update \
|
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/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Numeric USER: Kubernetes cannot verify runAsNonRoot against a name.
|
# Numeric USER: Kubernetes cannot verify runAsNonRoot against a name.
|
||||||
|
|||||||
Reference in new issue
Block a user