minigrida/Dockerfile

41 lines
824 B
Docker

FROM base/archlinux
#FROM arch-python
WORKDIR /app
ADD . /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 \
&& 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
CMD ["python", "supervisor.py"]