Skip to content
Snippets Groups Projects
Select Git revision
  • 22a70896445aa4d450dcc136502979a5e770f45a
  • main default protected
  • develop
  • 0.1.1
  • 0.1.0
5 results

Dockerfile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 725 B
    from rocker/rstudio:4.1.3
    
    RUN apt-get update && \
      apt-get install -y \
      libcurl4-openssl-dev \
      libssl-dev libssh2-1-dev \
      libxml2-dev zlib1g-dev \
      && \
      R -e "install.packages(c('devtools'))"
    
    # Update the system and install necessary libraries for R packages
    RUN apt-get update && apt-get install -y \
        libcurl4-openssl-dev \
        libssl-dev \
        libxml2-dev \
        libxt-dev \
        libgit2-dev \
        && apt-get clean \
        && rm -rf /var/lib/apt/lists/*
    
    # Install other R
    RUN R -e "install.packages(c('plyr', 'BiocManager'), repos='https://cran.biotools.fr')" \
        && R -e "BiocManager::install(c('snpStats', 'SNPRelate'))"
    
    # Expose the RStudio Server port
    EXPOSE 8787
    
    # Start RStudio Server
    CMD ["/init"]