Skip to content

Commit

Permalink
Create Docker images for v1.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
romanhaa committed Apr 5, 2020
1 parent 5083b9d commit 6c74810
Show file tree
Hide file tree
Showing 6 changed files with 49,740 additions and 14 deletions.
23 changes: 9 additions & 14 deletions Docker/Dockerfile → Docker/full/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM r-base:3.6.1
FROM r-base:3.6.2

##----------------------------------------------------------------------------##
## LABELS
Expand All @@ -7,10 +7,10 @@ FROM r-base:3.6.1
LABEL org.label-schema.name = "cerebro"
LABEL org.label-schema.description = "Cerebro as Docker container."
LABEL org.label-schema.url = "https://github.com/romanhaa/Cerebro"
LABEL org.label-schema.schema-version = "1.1.0"
LABEL org.label-schema.schema-version = "1.2.1"
LABEL maintainer = "[email protected]"
LABEL org.label-schema.version = "1.1.0"
LABEL org.label-schema.build-date = "2019-09-23T00:00:00.0Z"
LABEL org.label-schema.version = "1.2.1"
LABEL org.label-schema.build-date = "2020-04-04T00:00:00.0Z"

##----------------------------------------------------------------------------##
## SYSTEM LIBRARIES
Expand All @@ -20,7 +20,6 @@ RUN apt-get update --yes \
&& apt-get upgrade --yes \
&& apt-get install --yes \
python-dev \
python-pip \
python3-dev \
python3-pip \
python3-tk \
Expand All @@ -41,19 +40,15 @@ RUN pip3 install louvain python-igraph scanpy umap-learn
## R PACKAGES
##----------------------------------------------------------------------------##

# dependencies + Seurat v3 + monocle
RUN Rscript -e 'install.packages("BiocManager", repos = "http://cran.us.r-project.org")'
RUN Rscript -e 'BiocManager::install(c("devtools","remotes"), update = TRUE, ask = FALSE)'
RUN Rscript -e 'BiocManager::install("Seurat")'
RUN Rscript -e 'BiocManager::install("monocle")'
# install some required packages + Seurat v3 + monocle
RUN Rscript -e 'install.packages("BiocManager", Ncpus = 2, repos = "http://cran.us.r-project.org")'
RUN Rscript -e 'BiocManager::install(c("devtools","remotes"), Ncpus = 2, update = TRUE, ask = FALSE)'
RUN Rscript -e 'BiocManager::install("Seurat", Ncpus = 2)'
RUN Rscript -e 'BiocManager::install("monocle", Ncpus = 2)'

# cerebroApp
RUN Rscript -e 'devtools::install_github("romanhaa/cerebroApp")'

# Seurat v2.3.4
RUN mkdir /other_R_packages
RUN Rscript -e 'devtools::install_version("Seurat", version = "2.3.4", repos = "http://cran.us.r-project.org", lib = "/other_R_packages")'

##----------------------------------------------------------------------------##
## FINISHING
##----------------------------------------------------------------------------##
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 6c74810

Please sign in to comment.