-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
81 lines (65 loc) · 1.68 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
79
80
81
FROM ivukotic/ml_base:latest
LABEL maintainer Ilija Vukotic <[email protected]>
#############################
# Python 3 packages
#############################
RUN python3.6 -m pip --no-cache-dir install \
ipykernel \
uproot
RUN python3.8 -m pip --no-cache-dir install \
requests \
plumbum \
bokeh \
jupyter_bokeh \
h5py \
tables \
ipykernel \
metakernel \
jupyter \
jupyterlab \
tensorflow \
tensorflow_datasets \
imageio \
matplotlib \
numpy \
pandas \
Pillow \
pyarrow \
scipy \
scikit-learn \
qtpy \
tqdm \
seaborn \
keras \
keras-tuner \
elasticsearch \
gym \
graphviz \
JSAnimation \
ipywidgets \
jupyterlab-git==0.30 \
dask-labextension \
uproot \
atlasify \
RISE \
Cython
RUN python3.6 -m pip install --upgrade pip
RUN python3.8 -m pip install --upgrade pip
RUN python3.6 -m ipykernel install --name py36 --display-name "Python 3.6"
RUN python3.8 -m ipykernel install --name py38 --display-name "Python 3.8"
# build info
RUN echo "Timestamp:" `date --utc` | tee /image-build-info.txt
RUN curl -OL https://raw.githubusercontent.com/maniaclab/ci-connect-api/master/resources/provisioner/sync_users_debian.sh
RUN chmod +x sync_users_debian.sh
COPY environment /environment
COPY exec /.exec
COPY run /.run
COPY shell /.shell
RUN chmod 755 .exec .run .shell
RUN mkdir /workspace
COPY private_jupyter_notebook_config.py /usr/local/etc/jupyter_notebook_config.py
RUN jupyter server extension enable --py jupyterlab --sys-prefix
RUN git clone https://github.com/maniaclab/ML_platform_tests.git
RUN echo "Done"
#execute
CMD ["/.run"]