-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
41 lines (33 loc) · 824 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
FROM ubuntu:bionic
ENV TZ=Europe/Rome
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y --no-install-recommends \
make \
automake \
gcc \
swig \
python3.8 \
python-tk \
build-essential \
gfortran \
g++ \
cpp \
libc6-dev \
man-db \
autoconf \
pkg-config \
python3-pip \
python3-dev
RUN pip3 install --upgrade pip
RUN pip3 install cython wheel setuptools
RUN pip3 install flake8 pytest pytest-cov
RUN pip3 install tk cytoolz
RUN pip3 install numpy
ADD requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
COPY ./ $HOME/sekupy/
WORKDIR ./sekupy/
RUN cd sekupy & ls
RUN pip3 install .
RUN python3 -m pytest --pyargs sekupy
ENTRYPOINT ["/usr/local/bin/bash"]