diff --git a/deployments/biology/image/Dockerfile b/deployments/biology/image/Dockerfile index 77a4f049f..fc4f7dbbc 100644 --- a/deployments/biology/image/Dockerfile +++ b/deployments/biology/image/Dockerfile @@ -170,7 +170,8 @@ USER ${NB_USER} COPY environment.yml /tmp/ COPY infra-requirements.txt /tmp/ -RUN time "mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml" && mamba clean -afy +RUN echo "/srv/conda/condabin/mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml" | /usr/bin/time -f "User\t%U\nSys\t%S\nReal\t%E\nCPU\t%P" /usr/bin/bash +RUN mamba clean -afy RUN jupyter contrib nbextensions install --sys-prefix --symlink && \ jupyter nbextensions_configurator enable --sys-prefix @@ -187,8 +188,8 @@ RUN r -e "install.packages('IRkernel', version='1.2')" && \ # Install R packages, cleanup temp package download location COPY install.R /tmp/install.R -RUN time "r /tmp/install.R" -RUN time "rm -rf /tmp/downloaded_packages/ /tmp/*.rds" +RUN echo "/usr/bin/r /tmp/install.R" | /usr/bin/time -f "User\t%U\nSys\t%S\nReal\t%E\nCPU\t%P" /usr/bin/bash +RUN rm -rf /tmp/downloaded_packages/ /tmp/*.rds # install bio1b packages COPY bio1b-packages.bash /tmp/bio1b-packages.bash