forked from nansencenter/nansat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
41 lines (35 loc) · 876 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
39
40
FROM continuumio/miniconda3
LABEL maintainer="Anton Korosov <anton.korosov@nersc.no>"
LABEL purpose="Python libs for developing and running Nansat"
ENV PYTHONUNBUFFERED=1 \
PYTHONPATH=/src
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
gcc \
&& conda config --add channels conda-forge \
&& conda update -y conda \
&& conda install -y \
ipython \
ipdb \
gdal \
matplotlib \
mock \
netcdf4 \
nose \
numpy \
pillow \
python-dateutil \
scipy \
urllib3 \
&& conda remove qt pyqt --force \
&& conda clean -a -y \
&& rm /opt/conda/pkgs/* -rf \
&& pip install pythesint \
&& python -c 'import pythesint; pythesint.update_all_vocabularies()'
COPY utilities /tmp/utilities
COPY nansat /tmp/nansat
COPY setup.py /tmp/
WORKDIR /tmp
RUN python setup.py install
WORKDIR /src