basebox Distribution

ragsrv (cpu-v1.10.1)

Published 2026-11-20 20:31:43 +00:00 by pacman

Installation

docker pull gitea.basebox.health/basebox-distribution/ragsrv:cpu-v1.10.1
sha256:fd7e91e1e36c6120e3b17c601d3aac21e86c0ba936bbf43f2d913d5310c468d8

Images

Digest OS / Arch Size
c55e69caea linux/amd64 334 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'bookworm' '@1793827419'
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 && 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.22.0/onnxruntime-linux-x64-gpu-1.22.0.tgz && tar -xzf onnxruntime-linux-x64-gpu-1.22.0.tgz && find onnxruntime-linux-x64-gpu-1.22.0/lib -name "*.so*" -exec cp {} /usr/local/lib/ \; && rm -rf onnxruntime-linux-x64-gpu-1.22.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 /opt/ragsrv/models /opt/ragsrv/models # buildkit
ENV RAGSRV_EMBEDDING_MODEL_DIR=/opt/ragsrv/models/multilingual-e5-small
COPY /usr/src/app/ragsrv/target/release/ragsrv /usr/local/bin/ragsrv # buildkit
CMD ["ragsrv"]
Details
Container
2026-11-20 20:31:43 +00:00
0
OCI / Docker
Versions (74) View all
gpu-v1.10.2 2026-11-26
gpu-latest 2026-11-26
cpu-v1.10.2 2026-11-26
cpu-latest 2026-11-26
gpu-v1.10.1 2026-11-20