Last active
March 29, 2016 10:25
-
-
Save yellowcap/1836a10bf0e04ea3e5c2 to your computer and use it in GitHub Desktop.
Django Test Build for GDAL Versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
RUN apt-get update && apt-get upgrade -y | |
RUN apt-get install -y \ | |
wget\ | |
libproj-dev\ | |
python-dev\ | |
build-essential\ | |
libffi-dev\ | |
git\ | |
python-pip\ | |
libgeos-dev\ | |
libtiff5-dev libjpeg-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev | |
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH | |
RUN wget http://www.gdal.org/daily/gdal-svn-trunk-2016.03.28.tar.gz | |
RUN tar xzf gdal-svn-trunk-2016.03.28.tar.gz | |
RUN cd gdal-svn-trunk-2016.03.28 && ./configure | |
RUN cd gdal-svn-trunk-2016.03.28 && make && make install | |
RUN git clone https://github.com/django/django.git | |
RUN cd django/tests && pip install -r requirements/py2.txt | |
RUN pip install --upgrade six | |
RUN cd django/tests && PYTHONPATH=..:$PYTHONPATH ./runtests.py gis_tests.gdal_tests | |
CMD bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment