Skip to content

Commit

Permalink
shell gymnastics ftl
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Nov 14, 2023
1 parent c5d5dca commit b18c624
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deployments/biology/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit b18c624

Please sign in to comment.