41 lines
831 B
Docker
41 lines
831 B
Docker
FROM base/archlinux
|
|
|
|
WORKDIR /app
|
|
|
|
# Update
|
|
RUN pacman -Syu --noconfirm
|
|
|
|
# minigrida deps
|
|
RUN pacman -S --noconfirm python-gdal python-yaml
|
|
|
|
# triskele deps (build)
|
|
RUN pacman -S --noconfirm git python-pip make gcc intel-tbb boost
|
|
|
|
# LD2DAPs deps
|
|
RUN pacman -S --noconfirm python-pandas python-scikit-learn
|
|
|
|
# !#$*(&@(&(%*
|
|
RUN pacman -S --noconfirm python-matplotlib
|
|
|
|
# Dependencies
|
|
# TODO: prod pip install
|
|
# TODO: remove source
|
|
## Triskele
|
|
RUN git clone https://git.normalized.xyz/Florent/Triskele.git \
|
|
&& cd Triskele \
|
|
&& make -f MakefileNoOTB apGenerator -j 8\
|
|
&& cd python \
|
|
&& pip install -e .
|
|
|
|
## LD2DAPs
|
|
RUN git clone https://git.normalized.xyz/Florent/LD2DAPs.git \
|
|
&& cd LD2DAPs \
|
|
&& pip install -e .
|
|
|
|
RUN mkdir Enrichment Data
|
|
|
|
## Minigrida scripts
|
|
ADD . /app
|
|
|
|
CMD ["python", "supervisor.py"]
|