-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
executable file
·88 lines (68 loc) · 1.61 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
82
83
84
85
86
87
FROM ubuntu:20.04
LABEL maintainer='Suxing Liu, Wes Bonelli'
COPY ./ /opt/code
WORKDIR /opt/code
RUN apt update
RUN DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y \
build-essential \
aptitude \
libglu1-mesa-dev \
mesa-common-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
libboost-all-dev \
python3-setuptools \
python3-pip \
python3 \
python3-tk \
python3-pil.imagetk \
libgl1-mesa-glx \
libsm6 \
libxext6 \
cmake-gui \
freeglut3-dev \
freeglut3 \
libopengl0 -y \
mesa-utils \
software-properties-common \
libcairo2 \
python3-cairo \
nano \
xorg-dev
RUN cd /opt/code/compiled/ && rm -rf Release && mkdir Release && cd Release && cmake -DCMAKE_BUILD_TYPE=Release .. && make
RUN pip3 install --upgrade pip && \
pip3 install numpy \
numexpr \
Pillow \
rdp \
scipy \
scikit-image==0.19.3 \
scikit-learn \
scikit-build \
matplotlib \
mahotas \
plyfile \
psutil \
cairosvg \
certifi \
pandas \
pytest \
coverage \
coveralls \
open3d \
opencv-python-headless \
openpyxl \
click \
PyYAML \
imutils \
findpeaks
RUN pip3 install --upgrade numpy
RUN apt-key adv --keyserver keys.openpgp.org --recv-key 612DEFB798507F25
RUN add-apt-repository 'deb [ arch=amd64 ] https://downloads.skewed.de/apt focal main'
RUN apt update
RUN apt install python3-graph-tool -y
RUN chmod +x /opt/code/bean.sh
ENV PYTHONPATH=$PYTHONPATH:/opt/code/
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/code/