forked from gymreklab/cse185-course-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
61 lines (50 loc) · 1.88 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
FROM jupyter/datascience-notebook:a95cb64dfe10
MAINTAINER Melissa Gymrek <[email protected]>
USER root
# Install dependencies
RUN apt-get update && apt-get -qq install -y \
cmake \
datamash \
default-jdk \
git \
less \
libbz2-dev \
liblzma-dev \
libncurses5 libncurses5-dev \
r-base \
vim \
zlib1g-dev
# Make sources directory
RUN mkdir /sources
# Install extra python packages
RUN pip install pyvcf
# Install nbgrader
RUN conda install nbgrader
RUN jupyter nbextension install --symlink --sys-prefix --py nbgrader
RUN jupyter nbextension enable --sys-prefix --py nbgrader
RUN jupyter serverextension enable --sys-prefix --py nbgrader
# disable formgrader, create-assignments for all. grader and assignment maker will run below with 'enable --user' instead of 'disable --sys-prefix'
RUN jupyter nbextension disable --sys-prefix formgrader/main --section=tree
RUN jupyter serverextension disable --sys-prefix nbgrader.server_extensions.formgrader
RUN jupyter nbextension disable --sys-prefix create_assignment/main
# Install course-specific software
ADD install_cse185_deps_wks1-3.sh /sources/
RUN chmod +x /sources/install_cse185_deps_wks1-3.sh
RUN /sources/install_cse185_deps_wks1-3.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
RUN rm /sources/*.tar.gz
RUN rm /sources/*.zip
RUN rm -rf /opt/julia
ADD install_cse185_deps_wk6.sh /sources
ADD cellranger-3.0.2.tar.gz /sources
RUN chmod +x /sources/install_cse185_deps_wk6.sh
RUN /sources/install_cse185_deps_wk6.sh
ENV PATH="${PATH}:/sources/cellranger-3.0.2"
# Set env variables
ENV PERL5LIB="${PERL5LIB}:/sources/sspace_basic/dotlib"
ENV PATH="${PATH}:/sources/homer/bin:/sources/meme-5.0.5/src/"