-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.debian
33 lines (29 loc) · 1.27 KB
/
Dockerfile.debian
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
# Docker image for building and testing tkwant
FROM debian:latest
MAINTAINER Kwant developers <[email protected]>
# make our environment sane
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg dirmngr apt-transport-https ca-certificates curl software-properties-common
RUN echo "deb http://downloads.kwant-project.org/debian/ stretch-backports main" >> /etc/apt/sources.list && \
apt-key adv --keyserver pool.sks-keyservers.net --recv-key C3F147F5980F3535 && \
apt-get update && apt-get install -y --no-install-recommends \
# all the hard non-Python dependencies
git g++ make patch gfortran libblas-dev liblapack-dev \
libmumps-scotch-dev pkg-config libfreetype6-dev \
# all the hard Python dependencies
python3-all-dev python3-setuptools python3-pip python3-tk python3-wheel \
python3-numpy python3-scipy python3-matplotlib python3-sympy python3-tinyarray \
# Additional tools for running CI
file rsync openssh-client \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*
### install build and testing dependencies
RUN pip3 install \
cython \
pytest \
pytest-runner \
pytest-cov \
pytest-flakes \
pytest-pep8