Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricie34 authored Aug 1, 2024
1 parent a5b45f8 commit cecb179
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions rdocker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ RUN apt-get update && apt-get install -y \
libxml2-dev \
libssl-dev \
libxt-dev \
liblzma-dev \
zlib1g-dev \
libgmp-dev \
libgit2-dev \
gfortran \
&& apt-get install -y --no-install-recommends r-base \
&& rm -rf /var/lib/apt/lists/*

# Install R packages from CRAN and Bioconductor
RUN R -e "install.packages(c('ggplot2', 'scales', 'gtable', 'grid'), repos='http://cran.rstudio.com/')" \
&& R -e "if (!require('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install('DNAcopy')"
&& R -e "if (!require('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install('DNAcopy', update = TRUE, ask = FALSE)"

# Set the working directory (optional)
WORKDIR /app


0 comments on commit cecb179

Please sign in to comment.