forked from qMRLab/qMRLab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
57 lines (52 loc) · 1.22 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
FROM jupyter/base-notebook:8ccdfc1da8d5
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
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 sos-notebook scipy plotly;\
python -m sos_notebook.install;\
git clone https://github.com/neuropoly/qMRLab.git; \
chmod -R 777 $HOME/work/qMRLab; \
octave --eval "cd qMRLab; \
startup; \
pkg list;"
WORKDIR $HOME/work/qMRLab
USER $NB_UID