From a52c4cc108d4ac25a2e35301a37450d37638df09 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Tue, 10 Feb 2026 14:27:23 -0500 Subject: [PATCH] Unattended pip uninstall --- docker/cuda.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/cuda.Dockerfile b/docker/cuda.Dockerfile index d35b85f..40641de 100644 --- a/docker/cuda.Dockerfile +++ b/docker/cuda.Dockerfile @@ -34,7 +34,7 @@ RUN if [ "$with_models" = "true" ]; then \ RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \ && pip3 install "numpy<2" \ && pip3 install . \ - && pip3 uninstall onnxruntime && pip3 install --no-cache-dir onnxruntime-gpu>=1.10.0 \ + && pip3 uninstall -y onnxruntime && pip3 install --no-cache-dir onnxruntime-gpu>=1.10.0 \ && pip3 cache purge # Depending on your cuda install you may need to uncomment this line to allow the container to access the cuda libraries