feat(hermes): Piper TTS (local US male, no cloud) #17

Merged
gortium merged 25 commits from feat/voice-support-v2 into master 2026-05-09 19:39:12 +00:00
4 changed files with 282 additions and 55 deletions
Showing only changes of commit b89be7b8f4 - Show all commits

View File

@@ -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) ----------