basebox Distribution

ragsrv (cpu-dev-latest)

Published 2026-05-18 18:14:32 +00:00 by pacman

Installation

docker pull gitea.basebox.health/basebox-distribution/ragsrv:cpu-dev-latest
sha256:48e6df1c3df795b038f528a53b0b26b46e1fb7226c8e29044a40017bb9c79178

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=22.04
ADD file:14c8897ef5107db11b35f5a0c05bdcb883c0a6daa83d07d4439865541f08514c 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-05-18 18:14:32 +00:00
8
OCI / Docker
linux/amd64
59 MiB
Versions (15) View all
gpu-v1.7.1 2026-05-19
gpu-latest 2026-05-19
cpu-latest 2026-05-19
cpu-v1.7.1 2026-05-19
gpu-dev-latest 2026-05-18