-
Notifications
You must be signed in to change notification settings - Fork 116
/
Dockerfile
52 lines (47 loc) · 872 Bytes
/
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
# Base image
FROM nvidia/cuda:11.7.1-devel-ubuntu20.04
# Base packages
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Gothenburg
RUN \
apt-get update -qy && \
apt-get upgrade -qy && \
apt-get install -qy \
git \
graphviz \
pandoc \
python3-pip \
zip
RUN \
pip3 install --upgrade \
pip \
&& \
pip3 install --upgrade \
coverage \
flake8 \
nbmake \
pytest \
setuptools_scm \
twine \
xdoctest
# Packages needed for calorine (compare setup.py)
RUN \
pip3 install \
ase \
matplotlib \
numpy \
pandas \
pybind11
# Packages for building documentation
RUN \
pip3 install --upgrade \
sphinx_autodoc_typehints \
sphinx-rtd-theme \
sphinx_sitemap \
sphinxcontrib-bibtex \
cloud_sptheme \
nbsphinx \
&& \
pip3 install --upgrade \
jinja2==3.0.3
CMD /bin/bash