Replace the full Hermes agent Dockerfile with the minimal debian:13.4 base image as specified in the task: - debian:13.4 base - uv installed from astral-sh/uv:latest - curl, poppler-utils, imagemagick only - No other packages (PR 1 of 5)
24 lines
687 B
Docker
24 lines
687 B
Docker
FROM debian:13.4
|
|
|
|
# Install uv (Python package manager), curl, poppler-utils, and imagemagick
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
curl \
|
|
poppler-utils \
|
|
imagemagick && \
|
|
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"]
|