ragsrv (cpu-dev-324b966)
Published 2026-04-02 10:05:02 +00:00 by pacman
Installation
docker pull gitea.basebox.health/basebox-distribution/ragsrv:cpu-dev-324b966sha256:a7f53f64f7dc647ad4e22d2aa8a104829041d1af1c859a7b9de348cda0099031
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:6d6bdec36f3282e8506d4ebfcecc427191e59c9cf197a51a9e5787e7490eb0d6 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
2026-04-02 10:05:02 +00:00
Versions (177)
View all
Container
0
OCI / Docker
linux/amd64
59 MiB
gpu-dev-latest
2026-04-02
gpu-dev-324b966
2026-04-02
cpu-dev-latest
2026-04-02
cpu-dev-324b966
2026-04-02
gpu-dev-3b2bf68
2026-03-31