From a42f2a1219cb889fb93e3efbc0e14c75beff2908 Mon Sep 17 00:00:00 2001 From: Mike Wendt <1915404+mike-wendt@users.noreply.github.com> Date: Mon, 15 Mar 2021 23:46:03 -0400 Subject: [PATCH] FIX Retry conda install if it fails --- miniforge-cuda/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/miniforge-cuda/Dockerfile b/miniforge-cuda/Dockerfile index 87f0d7dc..fec3e67d 100644 --- a/miniforge-cuda/Dockerfile +++ b/miniforge-cuda/Dockerfile @@ -93,7 +93,8 @@ RUN wget --quiet ${MINIFORGE_URL} -O /miniforge.sh \ && ln -s /opt/conda /conda # Install tini for init -RUN conda install -k -y tini +RUN conda install -k -y tini \ + || conda install -k -y tini # Clean up conda and set permissions for all users RUN chmod -R ugo+w /opt/conda \