Skip to content

Instantly share code, notes, and snippets.

@kvbik
Created October 28, 2015 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kvbik/ff1a525593bfecf87d22 to your computer and use it in GitHub Desktop.
Save kvbik/ff1a525593bfecf87d22 to your computer and use it in GitHub Desktop.
simple container based on ubuntu including python and gis (geo stuff)
FROM ubuntu:trusty
RUN apt-get update
RUN apt-get install -qyy \
-o APT::Install-Recommends=false -o APT::Install-Suggests=false \
binutils libproj-dev gdal-bin \
libpq-dev python-dev libxml2-dev libxslt1-dev libffi-dev xmlsec1 \
python2.7 unzip virtualenvwrapper
WORKDIR /app
RUN virtualenv /env
RUN /env/bin/pip install -U pip
COPY requirements.txt /app/requirements.txt
RUN /env/bin/pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment