forked from gymreklab/cse185-course-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
78 lines (62 loc) · 2 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
FROM ucsdets/datascience-notebook:2023.2-stable
MAINTAINER Melissa Gymrek <[email protected]>
USER root
# Install dependencies
RUN apt-get update && apt-get -qq install -y \
automake \
bison \
cmake \
datamash \
default-jdk \
flex \
git \
g++ \
less \
libbz2-dev \
liblzma-dev \
libncurses5 libncurses5-dev \
libtool \
openssh-client \
vim \
zip \
zlib1g-dev \
software-properties-common
# Make sources directory
RUN mkdir /sources
# Install extra python packages
RUN pip install pyvcf
# DESeq2
RUN R -e "install.packages('readr', dependencies=TRUE, repos='http://cran.rstudio.com/')"
RUN R -e "install.packages('BiocManager', dependencies=TRUE, repos='http://cran.rstudio.com/')"
RUN R -e "BiocManager::install('DESeq2')"
RUN R -e "BiocManager::install('tximport')"
# Install lab-specific software
ADD install_cse185_deps_wk1.sh /sources/
RUN chmod +x /sources/install_cse185_deps_wk1.sh
RUN /sources/install_cse185_deps_wk1.sh
ADD install_cse185_deps_wk2.sh /sources/
RUN chmod +x /sources/install_cse185_deps_wk2.sh
RUN /sources/install_cse185_deps_wk2.sh
RUN apt-get -qq install -y pkg-config
ADD install_cse185_deps_wk3.sh /sources/
RUN chmod +x /sources/install_cse185_deps_wk3.sh
RUN /sources/install_cse185_deps_wk3.sh
ADD install_cse185_deps_wk4.sh /sources/
RUN chmod +x /sources/install_cse185_deps_wk4.sh
RUN /sources/install_cse185_deps_wk4.sh
ADD install_cse185_deps_wk5.sh /sources
RUN chmod +x /sources/install_cse185_deps_wk5.sh
RUN /sources/install_cse185_deps_wk5.sh
ADD install_cse185_deps_wk6.sh /sources
RUN chmod +x /sources/install_cse185_deps_wk6.sh
RUN /sources/install_cse185_deps_wk6.sh
# Set env variables
ENV PATH="${PATH}:/sources/homer/bin:/sources/meme-5.0.5/src/"
RUN rm /sources/*.tar.gz
RUN rm /sources/*.zip
RUN rm -rf /opt/julia
#RUN apt-get update && apt-get -qq install -y man-db
#RUN set +o pipefail && yes | unminimize
COPY late.py /usr/local/etc/jupyter/late.py
RUN chmod a+w /usr/local/etc/jupyter/late.py
USER $NB_USER