2026-03-08 17:57:46 -07:00
|
|
|
# syntax=docker/dockerfile:1.7
|
|
|
|
|
|
2026-02-19 12:42:07 -08:00
|
|
|
FROM debian:bookworm-slim@sha256:98f4b71de414932439ac6ac690d7060df1f27161073c5036a7553723881bffbe
|
2026-01-03 21:35:44 +01:00
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
2026-03-08 17:57:46 -07:00
|
|
|
RUN --mount=type=cache,id=openclaw-sandbox-bookworm-apt-cache,target=/var/cache/apt,sharing=locked \
|
|
|
|
|
--mount=type=cache,id=openclaw-sandbox-bookworm-apt-lists,target=/var/lib/apt,sharing=locked \
|
|
|
|
|
apt-get update \
|
2026-01-03 21:35:44 +01:00
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
bash \
|
|
|
|
|
ca-certificates \
|
|
|
|
|
curl \
|
|
|
|
|
git \
|
|
|
|
|
jq \
|
|
|
|
|
python3 \
|
2026-03-08 17:57:46 -07:00
|
|
|
ripgrep
|
2026-01-03 21:35:44 +01:00
|
|
|
|
2026-02-08 02:36:42 -08:00
|
|
|
RUN useradd --create-home --shell /bin/bash sandbox
|
|
|
|
|
USER sandbox
|
|
|
|
|
WORKDIR /home/sandbox
|
|
|
|
|
|
2026-01-03 21:35:44 +01:00
|
|
|
CMD ["sleep", "infinity"]
|