Skip to content
Snippets Groups Projects
Commit e9023773 authored by SANCHEZ Theophile's avatar SANCHEZ Theophile
Browse files

heritage from r-ver for ARM compatibility

parent a3a807d9
No related branches found
No related tags found
No related merge requests found
FROM rocker/tidyverse
LABEL version="0.01"
FROM rocker/r-ver:4.2.1
LABEL version="0.13"
LABEL maintainer="Théophile Sanchez <theophile.sanchez@wsl.ch>"
ENV S6_VERSION=v2.1.0.2
ENV RSTUDIO_VERSION=daily
ENV DEFAULT_USER=rstudio
ENV PANDOC_VERSION=default
ENV PATH=/usr/lib/rstudio-server/bin:$PATH
RUN /rocker_scripts/install_rstudio.sh
RUN /rocker_scripts/install_pandoc.sh
EXPOSE 8787
CMD ["/init"]
ENV USER="rstudio" PASSWORD="rstudio" ROOT="TRUE"
RUN sudo apt-get update
# install R packages
RUN R -e "install.packages('tidyverse')"
RUN R -e "install.packages('ggplot')"
RUN sudo apt-get update -y
# dependencies required by dada2
RUN apt-get install libbz2-dev -y
RUN apt-get install libclang-dev -y
RUN apt-get install -y libbz2-dev
RUN apt-get install -y libclang-dev
RUN apt-get install -y liblzma-dev
RUN apt-get install -y zlib1g-dev
RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install('dada2', version = '3.16')"
RUN R -e "install.packages('ggplot')"
# install python 2, python 3 and pip
RUN apt-get install -y python2
RUN apt-get install -y python3
......@@ -56,6 +71,7 @@ RUN make install
# install ecoPrimers
WORKDIR /app/ecoprimers/src/
RUN make
RUN echo "export PATH=$PATH:/app/ecopcr/src/" >> /home/rstudio/.bashrc
# install ecoPCR
WORKDIR /app/ecopcr/src/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment