Skip to content

Commit

Permalink
updated docker build to save time
Browse files Browse the repository at this point in the history
  • Loading branch information
sgosline committed Jul 8, 2024
1 parent df7702c commit 91f8125
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
9 changes: 5 additions & 4 deletions build/broad_sanger/exp_requirements.r
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
install.packages("readr")
install.packages("stringr")
install.packages("dplyr")
#install.packages("readr")
#install.packages("stringr")
#install.packages("dplyr")
install.packages('reticulate')
install.packages('tidyr')
#install.packages('tidyr')
install.packages('tidyverse')
install.packages("BiocManager")
BiocManager::install("PharmacoGx",update=TRUE,ask=FALSE)

2 changes: 1 addition & 1 deletion build/broad_sanger/omics_requirements.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ install.packages("curl")
install.packages("stringr")
install.packages("dplyr")
install.packages("XML")
install.packages('reticulate')
#install.packages('reticulate')
install.packages('tidyr')
3 changes: 0 additions & 3 deletions build/docker/Dockerfile.broad_sanger_exp
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM r-base:4.2.1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update --fix-missing
#RUN apt-get install -y --fix-missing --allow-unauthenticated build-essential libpq-dev python3.10 python3-pip python3-setuptools python3-dev python3-venv libcurl4-openssl-dev libxml2-dev libglpk-dev

RUN apt-get install -y --fix-missing --allow-unauthenticated build-essential python3-pip python3-setuptools python3-dev python3-venv libcurl4-openssl-dev libglpk-dev libxml2-dev libpq-dev

RUN python3 -m venv /opt/venv
RUN /opt/venv/bin/pip3 install --upgrade pip


# Set MPLCONFIGDIR to a writable directory
ENV MPLCONFIGDIR=/tmp/matplotlib
RUN mkdir -p /tmp/matplotlib
Expand Down

0 comments on commit 91f8125

Please sign in to comment.