From df027b1c0a4d7e3e488c0a3f0eb4433855913ceb Mon Sep 17 00:00:00 2001
From: Christof Kaufmann <christof.kaufmann@hs-bochum.de>
Date: Tue, 19 Nov 2024 08:09:39 +0100
Subject: [PATCH] pytorch-gpu: Try conda instead of mamba to fix CI

This change should be temporary and can only be seen using kaniko. With
`docker build`, even with `--no-cache`, there is no issue with the
dependencies and it works with mamba. In kaniko, the dependency
resolution does not work with mamba, but with conda it does.
---
 pytorch-gpu/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytorch-gpu/Dockerfile b/pytorch-gpu/Dockerfile
index 1dbe067..f779210 100644
--- a/pytorch-gpu/Dockerfile
+++ b/pytorch-gpu/Dockerfile
@@ -33,7 +33,7 @@ RUN wget --no-hsts -q -O vscode_cli.tar.gz 'https://code.visualstudio.com/sha/do
 # install some packages
 # NOTE: without --no-update-deps somehow an undefined symbol error in /opt/conda/lib/python3.11/lib-dynload/_sqlite3.cpython-311-x86_64-linux-gnu.so occurs, which crashes jupyter lab.
 USER ${NB_UID}
-RUN mamba install --yes --no-update-deps \
+RUN conda install --yes --no-update-deps \
     # umap + hdbscan
     'umap-learn' \
     'hdbscan' \
-- 
GitLab