Skip to content
Snippets Groups Projects

Docker dependencies

Merged Dominik Brilhaus requested to merge docker-dependencies into main
2 files
+ 0
32
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
29
# Use an official R base image
FROM rocker/r-ver:4.1.3
# Install system dependencies for R packages and other utilities
RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libxml2-dev \
git \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Install BiocManager
RUN R -e "install.packages('BiocManager')"
# Install Bioconductor version 3.14
RUN R -e "BiocManager::install(version = '3.11')"
# Install sleuth from Bioconductor
RUN R -e "BiocManager::install('sleuth')"
# Install other necessary CRAN packages
RUN R -e "install.packages('jsonlite', repos='https://cran.r-project.org')"
# Set the working directory to /app
WORKDIR /app
# Default command to run when the container starts
CMD ["R"]
Loading