basebox Distribution

ragsrv (cpu-dev-b1aa235)

Published 2026-01-23 18:15:51 +00:00 by dany.henriquez

Installation

docker pull gitea.basebox.health/basebox-distribution/ragsrv:cpu-dev-b1aa235
sha256:e26655cf4f151be6b44284af9e727840b3eb9da9b64f2db1acf55cf12308ec36

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:b499000226bd9a7c562ffa8eeb86e2d170f2a563310db6c2d79562ab53e5cb6e 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.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2026-01-23 18:15:51 +00:00
0
OCI / Docker
linux/amd64
57 MiB
Versions (11) View all
gpu-dev-latest 2026-01-23
gpu-dev-b1aa235 2026-01-23
cpu-dev-latest 2026-01-23
cpu-dev-b1aa235 2026-01-23
gpu-dev-2edad07 2026-01-23