Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Oct 31, 2023
1 parent 92a65de commit e389a68
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
FROM rocker/r-base:4.2.2
FROM rocker/rstudio:4.3

RUN apt-get update && \
apt-get -y --no-install-recommends install software-properties-common \
python3-dev \
python3-pip \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev
libxml2-dev \
libxt6


RUN pip install --break-system-packages pandas==1.5.3 synapseclient==2.7.0
RUN pip install synapseclient==3.0.0

COPY . /nfportalutils

# R components
RUN R -e "install.packages(c('remotes'), repos='http://cran.rstudio.com/')"
# R components for installation or suggested usage
RUN R -e "install.packages(c('remotes', 'rmarkdown', 'DiagrammeR'), repos='http://cran.rstudio.com/')"
RUN R -e "remotes::install_local('nfportalutils', dependencies = c('Depends', 'Imports'))"

ENTRYPOINT [ "/bin/bash" ]

0 comments on commit e389a68

Please sign in to comment.