From 90f74bd794aa96e92ceb9a5ba4614c582d4fdb55 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 18 Oct 2022 15:30:01 +0200
Subject: [PATCH] fix conda for hicstuff

---
 src/.docker_modules/hicstuff/3.1.3/Dockerfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/.docker_modules/hicstuff/3.1.3/Dockerfile b/src/.docker_modules/hicstuff/3.1.3/Dockerfile
index b9b88cb4..678d0ae4 100644
--- a/src/.docker_modules/hicstuff/3.1.3/Dockerfile
+++ b/src/.docker_modules/hicstuff/3.1.3/Dockerfile
@@ -7,7 +7,8 @@ COPY hicstuff/* ./ /app/
 RUN apt-get update && apt-get install -y procps bash
 
 RUN apt update && apt install -y procps
-RUN conda init \
+RUN conda update -y -n base -c defaults conda \
+&& conda init \
 && conda config --add channels r \
 && conda config --add channels defaults \
 && conda config --add channels conda-forge \
@@ -30,4 +31,4 @@ RUN conda install -c conda-forge -y \
 && chmod -R +x /usr/local/lib/python3.10/lib-dynload/ \
 && echo "conda activate hicstuff" >> /root/.bashrc
 
-ENV PATH /usr/local/envs/hicstuff/bin:/usr/local/condabin:$PATH
\ No newline at end of file
+ENV PATH /usr/local/envs/hicstuff/bin:/usr/local/condabin:$PATH
-- 
GitLab