-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
36 lines (32 loc) · 1.11 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
FROM clowder/pyclowder:2
MAINTAINER Max Burnette <[email protected]>
# TODO: Use non-dev versions
RUN apt-get -q -y update \
&& apt-get install -y --no-install-recommends build-essential \
software-properties-common \
gcc make wget byacc \
exiftool imagemagick \
libpng-dev \
libjpeg8-dev \
libfreetype6-dev \
libnetcdf-dev \
libhdf5-dev \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
netcdf-bin \
python-dev \
python-tk \
&& add-apt-repository ppa:ubuntugis/ubuntugis-unstable \
&& apt-get -q -y update \
&& apt-get install -y libgdal-dev gdal-bin python-gdal \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# TODO: Create intermediary NCO Container for subset of extractors
COPY logging_config.json /var/log/
COPY setup.py requirements.txt MANIFEST.in readme.rst /tmp/terrautils/
RUN pip install --upgrade -r /tmp/terrautils/requirements.txt
COPY terrautils /tmp/terrautils/terrautils
RUN pip install /tmp/terrautils \
&& rm -rf /tmp/terrautils