Skip to content

Commit

Permalink
dockerfile: install more R dependencies via apt
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 authored Dec 7, 2023
1 parent d4450df commit b09bc48
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ RUN apt-get update && \
RUN apt-get -y -qq install \
less nano vim git wget curl jq zstd parallel locales \
gnupg libssl-dev libcurl4-openssl-dev \
r-base r-base-dev \
libxml2 libxml2-dev \
imagemagick libmagick++-dev \
texlive-base texlive-latex-recommended texlive texlive-latex-extra texlive-extra-utils texlive-fonts-extra \
fonts-roboto \
r-base r-base-dev r-cran-devtools r-cran-tidyverse \
&& apt-get clean

# Set default locale to en_US.UTF-8
RUN locale-gen en_US.UTF-8
ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8"

# Install useful R packages
RUN R -e "install.packages(c( 'devtools', 'BiocManager', 'tidyverse' ))"

# Install reconstructR R package -- invalidate cache any time github main branch updates
ADD https://api.github.com/repos/broadinstitute/reconstructR/git/refs/heads/main version.json
RUN R -e "devtools::install_github('broadinstitute/reconstructR', dependencies=TRUE, upgrade='never')"
Expand Down

0 comments on commit b09bc48

Please sign in to comment.