-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile_musr
30 lines (22 loc) · 1.15 KB
/
Dockerfile_musr
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
FROM triumfmlutils/baseml:v0.2
LABEL maintainer="[email protected]"
#Install Connector/Python for MySQL for MuSR MUD database
#https://dev.mysql.com/doc/connector-python/en/connector-python-installation-binary.html
RUN pip install mysql-connector-python
#Install bdata for mudpy for MUD file manipulation/reading
RUN pip install 'bdata==2.1.0'
#Installing JupyterLab, if not already installed
RUN pip install jupyterlab
# Installing Jupyter Widgets
RUN pip install ipywidgets
RUN jupyter nbextension enable --py widgetsnbextension
# Installing NODE JS required for JupyterLab Widgets Extension
# https://github.com/nodesource/distributions/blob/master/README.md#deb
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
#Installing JypyterLab Widgets Extension
#https://ipywidgets.readthedocs.io/en/stable/user_install.html#installing-the-jupyterlab-extension
RUN jupyter labextension install @jupyter-widgets/[email protected]
# Install pandoc and XeTeX for Jupyter Notebook Export
# https://nbconvert.readthedocs.io/en/latest/install.html#installing-pandoc
RUN apt-get install -y pandoc && apt-get install -y texlive-xetex