diff --git a/ai/Dockerfile b/ai/Dockerfile index f9ded5b..6c8ddeb 100644 --- a/ai/Dockerfile +++ b/ai/Dockerfile @@ -6,12 +6,30 @@ FROM ghcr.io/astral-sh/uv:latest AS uv_source FROM nousresearch/hermes-agent:latest # ---------- System dependencies ---------- -# Piper a besoin de libportaudio2, et HuggingFace a besoin de ca-certificates +# The official hermes-agent image already has: git, curl, ffmpeg, python3, +# gcc, build-essential, openssh-client, procps, tini, ripgrep, docker-cli, +# libportaudio2, ca-certificates, etc. +# +# These extras we need to add back: +# - poppler-utils, imagemagick (PDF/image processing) +# - texlive-* (LaTeX typesetting for reports) +# - qemu-user-static, binfmt-support (QEMU cross-compilation) +# - emacs-nox (text editing in container) USER root RUN apt-get update && \ apt-get install -y --no-install-recommends \ libportaudio2 \ - ca-certificates && \ + ca-certificates \ + poppler-utils \ + imagemagick \ + texlive-latex-base \ + texlive-latex-extra \ + texlive-fonts-recommended \ + texlive-xetex \ + texlive-science \ + qemu-user-static \ + binfmt-support \ + emacs-nox && \ rm -rf /var/lib/apt/lists/* # ---------- UV (hyperfast pip alternative) ----------