basebox Distribution

ragsrv (cpu-latest)

Published 2026-08-06 13:11:26 +00:00 by pacman

Installation

docker pull gitea.basebox.health/basebox-distribution/ragsrv:cpu-latest
sha256:34cc431660fe4d767c3a37bb0f6ed083458a3a94d8cbfd9c4422188bd2f06463

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=22.04
ADD file:4501ff54ffd37d854b1cfbcd2e37da58bf8a49da3a6a82232d03e7556d337a92 in /
CMD ["/bin/bash"]
ARG COMPUTE=cpu # Re-declare for use in RUN commands
ENV DEBIAN_FRONTEND=noninteractive
RUN |8 COMPUTE=cpu #= Re-declare= for= use= in= RUN= commands= /bin/sh -c apt-get update && apt-get install -y libssl3 ca-certificates curl && if [ "$COMPUTE" = "gpu" ]; then echo "Installing cuDNN for ONNX Runtime GPU support" && apt-get install -y --allow-change-held-packages libcudnn9-cuda-12; fi && rm -rf /var/lib/apt/lists/* # buildkit
COPY /usr/local/lib/libpdfium.so /usr/local/lib/libpdfium.so # buildkit
RUN |8 COMPUTE=cpu #= Re-declare= for= use= in= RUN= commands= /bin/sh -c ldconfig # buildkit
RUN |8 COMPUTE=cpu #= Re-declare= for= use= in= RUN= commands= /bin/sh -c if [ "$COMPUTE" = "gpu" ]; then echo "Installing ONNX Runtime GPU libraries for runtime" && apt-get update && apt-get install -y wget && wget https://github.com/microsoft/onnxruntime/releases/download/v1.20.0/onnxruntime-linux-x64-gpu-1.20.0.tgz && tar -xzf onnxruntime-linux-x64-gpu-1.20.0.tgz && find onnxruntime-linux-x64-gpu-1.20.0/lib -name "*.so*" -exec cp {} /usr/local/lib/ \; && rm -rf onnxruntime-linux-x64-gpu-1.20.0* && apt-get remove -y wget && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* && ldconfig && echo "ONNX Runtime GPU libraries installed"; else echo "CPU mode - no additional ONNX Runtime libraries needed"; fi # buildkit
ENV LD_LIBRARY_PATH=/usr/local/lib:
COPY /usr/src/app/target/release/ragsrv /usr/local/bin/ragsrv # buildkit
CMD ["ragsrv"]

Labels

Key Value
org.opencontainers.image.version 22.04
Details
Container
2026-08-06 13:11:26 +00:00
4
OCI / Docker
linux/amd64
59 MiB
Versions (29) View all
gpu-latest 2026-08-06
gpu-v1.8.3 2026-08-06
cpu-v1.8.3 2026-08-06
cpu-latest 2026-08-06
gpu-v1.8.0-rc.6 2026-07-24