forked from qMRLab/t1_notebooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
76 lines (71 loc) · 1.96 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
FROM jupyter/base-notebook:8ccdfc1da8d5
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential=12.4ubuntu1 \
emacs \
git \
inkscape \
jed \
libsm6 \
libxext-dev \
libxrender1 \
lmodern \
netcat \
unzip \
nano \
curl \
wget \
gfortran \
cmake \
bsdtar \
rsync \
imagemagick \
gnuplot-x11 \
libopenblas-base \
octave \
liboctave-dev \
octave-info \
octave-parallel \
octave-struct \
octave-io \
octave-statistics \
octave-optim \
octave-image \
python3-dev \
ttf-dejavu && \
apt-get clean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN cd $HOME/work;\
pip install octave_kernel \
sos==0.17.7 \
sos-notebook==0.17.2 \
sos-python==0.9.12.1 \
sos-bash==0.12.3 \
sos-matlab==0.9.12.1 \
sos-ruby==0.9.15.0 \
sos-sas==0.9.12.3 \
sos-julia==0.9.12.1 \
sos-javascript==0.9.12.2 \
scipy \
plotly \
dash \
dash_core_components \
dash_html_components \
dash_dangerously_set_inner_html \
dash-renderer \
flask; \
python -m sos_notebook.install;\
git clone https://github.com/qMRLab/t1_notebooks.git; \
cd t1_notebooks;\
git clone https://github.com/neuropoly/qMRLab.git; \
cd qMRLab; \
git checkout 0e97155a6e310911e575ebd8f8870e5f2988a82b; \
cd ..; \
chmod -R 777 $HOME/work/t1_notebooks; \
octave --eval "cd qMRLab; \
startup; \
pkg list;"
WORKDIR $HOME/work/t1_notebooks
USER $NB_UID