From c7015b6f586e75e1f8c922ccd0eb267f9e0be9c1 Mon Sep 17 00:00:00 2001 From: Sujen Shah Date: Wed, 25 Mar 2026 11:01:40 -0700 Subject: [PATCH 1/2] Clean up Miniforge installer after installation Remove installer script after conda installation. --- custom_images/maap_base/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_images/maap_base/docker/Dockerfile b/custom_images/maap_base/docker/Dockerfile index fca718cb..c2a54705 100644 --- a/custom_images/maap_base/docker/Dockerfile +++ b/custom_images/maap_base/docker/Dockerfile @@ -9,7 +9,7 @@ RUN groupadd conda-users RUN wget -O Miniforge3-installer.sh https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh && \ bash Miniforge3-installer.sh -b -p /opt/conda && \ chgrp -R conda-users /opt/conda/ && chmod -R 775 /opt/conda/ && \ - /opt/conda/bin/conda clean -afy && \ + /opt/conda/bin/conda clean -afy && rm Miniforge3-installer.sh \ echo "source /opt/conda/etc/profile.d/conda.sh" >> /root/.bashrc -ENV PATH=/opt/conda/bin:$PATH \ No newline at end of file +ENV PATH=/opt/conda/bin:$PATH From 1910f0363c03f0d492c6d25790c07248b702bcb0 Mon Sep 17 00:00:00 2001 From: grallewellyn Date: Wed, 25 Mar 2026 11:56:48 -0700 Subject: [PATCH 2/2] separated commands --- custom_images/maap_base/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_images/maap_base/docker/Dockerfile b/custom_images/maap_base/docker/Dockerfile index c2a54705..8d1500b9 100644 --- a/custom_images/maap_base/docker/Dockerfile +++ b/custom_images/maap_base/docker/Dockerfile @@ -9,7 +9,8 @@ RUN groupadd conda-users RUN wget -O Miniforge3-installer.sh https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh && \ bash Miniforge3-installer.sh -b -p /opt/conda && \ chgrp -R conda-users /opt/conda/ && chmod -R 775 /opt/conda/ && \ - /opt/conda/bin/conda clean -afy && rm Miniforge3-installer.sh \ + /opt/conda/bin/conda clean -afy && \ + rm Miniforge3-installer.sh && \ echo "source /opt/conda/etc/profile.d/conda.sh" >> /root/.bashrc ENV PATH=/opt/conda/bin:$PATH