-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
64 lines (50 loc) · 1.22 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
#Name: Dockerfile
#Version: 1.0
#Summary: Docker recipe file for smart pipeline
#Author: suxing liu
#Author-email: [email protected]
#Created: 2022-10-29
#USAGE:
#docker build -t syngenta_phenotools -f Dockerfile .
#docker run -v /path to test image:/images -it syngenta_phenotools
#cd /opt/Syngenta_PhenoTOOLs/
#python3 trait_computation_mazie_ear.py -p /images/ -ft png
#python3 trait_computation_maize_tassel.py -p /images/ -ft png
FROM ubuntu:22.04
LABEL maintainer='Suxing Liu'
COPY ./ /opt/Syngenta_PhenoTOOLs
RUN apt-get update && apt-get upgrade -y
RUN DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y \
build-essential \
python3-setuptools \
python3-pip \
python3 \
libgl1-mesa-glx \
libsm6 \
libxext6 \
cmake-gui \
nano \
libdmtx0b
RUN python3 -m pip install --upgrade pip
#RUN pip3 install --upgrade pip
RUN pip3 install numpy \
Pillow \
scipy \
scikit-image==0.19.3 \
scikit-learn\
matplotlib \
pandas \
pytest \
opencv-python-headless \
openpyxl \
imutils \
numba \
skan \
tabulate \
pylibdmtx \
psutil \
natsort \
pathlib \
kmeans1d \
rembg
WORKDIR /opt/Syngenta_PhenoTOOLs/