-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
38 lines (28 loc) · 947 Bytes
/
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
from ubuntu:bionic
RUN apt-get update && apt-get install -y \
vim \
git \
wget \
bc \
build-essential \
python \
python-pip \
openjdk-8-jdk \
parallel \
unzip \
software-properties-common
RUN add-apt-repository -y ppa:ubuntugis/ppa && apt-get update && apt-get install -y gdal-bin
RUN pip install mapbox mapboxcli
WORKDIR /app
RUN git clone https://github.com/3PIV/npmap-species
WORKDIR /app
RUN git clone https://github.com/seelabutk/eden
ENV PATH="/app/eden/:${PATH}"
RUN mkdir /app/data
# Handle fetching the environmental layers
RUN cd /app/npmap-species/backend/maxent/libfdr/src/ && make
RUN cd /app/npmap-species/backend/maxent && make
#RUN cd /app/npmap-species/atbirecords && python separate.py JUST_COORDS
# Change config_all to other configurations if you need to in do_run.sh
RUN cd /app/npmap-species/backend/maxent/ && ./clean.sh
ENTRYPOINT ["/app/npmap-species/dockerrun.sh"]