# thoughtframe-os — base image: JDK 26, system tooling, python libs.
# Rebuilt rarely (JDK / apt / python changes). The runtime image (../runtime) is FROM this.
FROM eclipse-temurin:25-jdk-resolute

RUN apt-get update && apt-get install -y \
    curl \
    wget \
    git \
    rsync \
    zip \
    unzip \
    jq \
    vim \
    nano \
    less \
    tree \
    file \
    lsof \
    procps \
    htop \
    net-tools \
    iputils-ping \
    dnsutils \
    openssh-client \
    docker.io \
    python3 \
    python3-pip \
    python3-venv \
    python3-dev \
    ffmpeg \
    imagemagick \
    ghostscript \
    poppler-utils \
    tesseract-ocr \
    exiftool \
    libreoffice \
    && rm -rf /var/lib/apt/lists/*

RUN pip3 install --break-system-packages \
    requests \
    pillow \
    numpy \
    pandas \
    openpyxl \
    lxml \
    beautifulsoup4 \
    pypdf \
    pymupdf \
    websockets
