# syntax=docker/dockerfile:1.4
FROM --platform=linux/amd64 ghcr.io/openclaw/openclaw:main
USER root

# Install everything in a single layer to reduce layer count
RUN apt-get update && apt-get install -y --no-install-recommends \
    python3-pip \
    python3.11-venv \
    jq \
    gh \
    && rm -rf /var/lib/apt/lists/* \
    && pip install --no-cache-dir --break-system-packages \
    google-auth \
    google-auth-oauthlib \
    google-api-python-client \
    uv \
    scrapling \
    playwright \
    beautifulsoup4 \
    requests \
    yt-dlp \
    moviepy \
    pillow \
    pydub \
    elevenlabs

USER node
