https://github.com/GeoscienceAustralia/PyRate
Tip revision: acf7ae0d8819410e8e92241ca6531716471b6db3 authored by Syed Sheece Raza Gardezi on 31 October 2019, 00:02:32 UTC
Update history.rst
Update history.rst
Tip revision: acf7ae0
Dockerfile
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -y && apt-get -y install git gdal-bin=2.2.3* libgdal-dev libatlas-base-dev openmpi-bin libopenmpi-dev libnetcdf13
ENV C_INCLUDE_PATH=/usr/include/gdal
ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
RUN apt install -y python3 python3-dev python3-pip
RUN pip3 install --upgrade setuptools
ADD . / PyRate/
RUN cd PyRate && sed -i 's/GDAL//g' requirements.txt
RUN cd PyRate && pip3 install -r requirements.txt
RUN pip3 install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal"
RUN cd PyRate && pip3 install -r requirements-dev.txt
RUN cd PyRate && python3 setup.py install