-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (29 loc) · 934 Bytes
/
Dockerfile
File metadata and controls
35 lines (29 loc) · 934 Bytes
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
FROM python:3.7-slim
LABEL maintainer="Wes Bonelli"
COPY . /opt/pytcherplants
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
python3-numexpr \
libgl1-mesa-glx \
libsm6 \
libxext6 \
libfontconfig1 \
libxrender1 \
libgtk2.0-dev \
git
RUN pip install --upgrade pip setuptools wheel && \
pip install -r /opt/pytcherplants/requirements.txt && \
pip install -e /opt/pytcherplants
# install ilastik
WORKDIR /opt/ilastik
RUN curl -O https://files.ilastik.org/ilastik-1.4.0b21-gpu-Linux.tar.bz2 && \
tar xjf ilastik-1.*-Linux.tar.bz2
ENV PATH="/opt/ilastik/:${PATH}"
# TODO install deep plant phenomics
# RUN git clone https://github.com/p2irc/deepplantphenomics.git /opt/deepplantphenomics && \
# pip install -e /opt/deepplantphenomics
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV PYTHONPATH=/opt/pytcherplants
WORKDIR /opt/pytcherplants