generated from ucsd-ets/datahub-example-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (21 loc) · 1.06 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 1) choose base container
# generally use the most recent tag
# base notebook, contains Jupyter and relevant tools
# See https://github.com/ucsd-ets/datahub-docker-stack/wiki/Stable-Tag
# for a list of the most current containers we maintain
ARG BASE_CONTAINER=ucsdets/rstudio-notebook:2023.2-stable
FROM $BASE_CONTAINER
LABEL maintainer="UC San Diego ITS/ETS <[email protected]>"
# 2) change to root to install packages
USER root
RUN R -e "install.packages(c('BiocManager', 'knitr', 'rmarkdown', 'WGCNA', 'ggplot2', 'dplyr'), repos='http://cran.rstudio.com/')" && \
R -e "install.packages('bio3d', repos='http://cran.rstudio.com/')" && \
R -e "BiocManager::install()" && \
R -e "BiocManager::install(c('DESeq2', 'AnnotationDbi', 'pathview', 'gage', 'gageData'))"
RUN R -e "update.packages(ask = FALSE, repos = 'http://cran.rstudio.com/')"
#RUN apt-get -y install htop
# 3) install packages using notebook user
USER jovyan
#RUN pip install --no-cache-dir networkx scipy
# Override command to disable running jupyter notebook at launch
# CMD ["/bin/bash"]