Merge pull request #33 from dimasciput/fix_gdal

Fix gdal installation
This commit is contained in:
Dimas Ciputra authored and GitHub committed 2017-09-18 14:16:23 +07:00
commit d447bc47dc
2 files changed
+5

No files matched your search

+4
View File
@@ -30,6 +30,10 @@ ENV CPLUS_INCLUDE_PATH /usr/include/gdal
ENV C_INCLUDE_PATH /usr/include/gdal
ENV TEST a
RUN cd /home/web && wget http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.gz && tar -xvzf gdal-2.1.3.tar.gz
RUN cd /home/web/gdal-2.1.3 && ./configure -prefix=/usr/ && make && make install
RUN cd /home/web/gdal-2.1.3/swig/python && python setup.py install
ADD REQUIREMENTS.txt /REQUIREMENTS.txt
RUN pip install -r /REQUIREMENTS.txt
RUN pip install uwsgi
+1
View File
@@ -1,6 +1,7 @@
git+https://github.com/ppasq/django-osgeo-importer.git
gdal==2.1.3
six==1.10
geonode==2.7
django-compressor
django-geonode-client