# syntax=docker/dockerfile:1.4
FROM --platform=linux/amd64 ghcr.io/openclaw/openclaw:latest
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 \
    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

USER node
