2026-01-03 22:11:43 +01:00
|
|
|
FROM debian:bookworm-slim
|
|
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
bash \
|
|
|
|
|
ca-certificates \
|
|
|
|
|
chromium \
|
|
|
|
|
curl \
|
|
|
|
|
fonts-liberation \
|
|
|
|
|
fonts-noto-color-emoji \
|
|
|
|
|
git \
|
|
|
|
|
jq \
|
|
|
|
|
novnc \
|
|
|
|
|
python3 \
|
2026-01-10 01:08:05 +00:00
|
|
|
socat \
|
2026-01-03 22:11:43 +01:00
|
|
|
websockify \
|
|
|
|
|
x11vnc \
|
|
|
|
|
xvfb \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
COPY scripts/sandbox-browser-entrypoint.sh /usr/local/bin/openclaw-sandbox-browser
|
|
|
|
|
RUN chmod +x /usr/local/bin/openclaw-sandbox-browser
|
2026-01-03 22:11:43 +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 22:11:43 +01:00
|
|
|
EXPOSE 9222 5900 6080
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
CMD ["openclaw-sandbox-browser"]
|