diff --git a/ai/Dockerfile b/ai/Dockerfile new file mode 100644 index 0000000..2a34e4c --- /dev/null +++ b/ai/Dockerfile @@ -0,0 +1,24 @@ +FROM debian:13.4 + +# Install uv (Python package manager), curl, poppler-utils, imagemagick, and emacs-nox +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + curl \ + poppler-utils \ + imagemagick \ + emacs-nox && \ + rm -rf /var/lib/apt/lists/* + +# Install uv if not already present (debian:13.4 doesn't ship it) +COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uv /usr/local/bin/uv +RUN uv --version + +# Verify all expected tools are available +RUN curl --version && \ + pdftotext -v 2>&1 | head -1 && \ + pdfinfo -v 2>&1 | head -1 && \ + pdftoppm -v 2>&1 | head -1 && \ + convert --version | head -1 && \ + identify --version | head -1 + +CMD ["/bin/bash"]