kartoza / docker-qgis-desktop

A docker project that will run your QGIS desktop app inside a docker container
GNU General Public License v2.0
98 stars 46 forks source link

fix for master/jessie build #14

Closed rduivenvoorde closed 8 years ago

rduivenvoorde commented 8 years ago

This will fix the jessie build, and add some common python libs needed for common used plugins.

So 1) now uses the right key for apt 2) addition of python-qt4-sql python-gdal python-psycopg2 python-pyspatialite 3) fixes the apt-clean up by removing "sed 's/rc//g'" which was playing bad with Xerces dev lib (becoming xeeslib or so, which fails to be removed. Not sure what the "sed 's/rc//g'" was supposed to remove... maybe sed 's/~rc//g' can be an alternative ?

timlinux commented 8 years ago

Cool - I need to patch all the version specific builds with this too

timlinux commented 8 years ago

3) fixes the apt-clean up by removing "sed 's/rc//g'" which was playing bad with Xerces dev lib (becoming xeeslib or so, which fails to be removed. Not sure what the "sed 's/rc//g'" was supposed to remove... maybe sed 's/~rc//g' can be an alternative ?

It was supposed to remove packages marked 'rc' (unpurged)

rduivenvoorde commented 8 years ago

@timlinux should I try/test the other version specific builds too? As you said in the mailing list, I think currently most interesting is master builds (for people wanting to check out new features or just test).

But happy to check the other versions too here. Is there some way to create modular Dockerfiles? So we make one for a 'build environment based on jessie (or another distro) and one or specific ones for the checkout/build/cleanup etc?

timlinux commented 8 years ago

Hi @rduivenvoorde

timlinux commented 8 years ago

Hi @rduivenvoorde

@timlinux should I try/test the other version specific builds too? As you said in the mailing list, I think currently most interesting is master builds (for people wanting to check out new features or just test). Is there some way to create modular Dockerfiles? So we make one for a 'build environment based on jessie (or another distro) and one or specific ones for the checkout/build/cleanup etc?

I'm trying to keep the various versions more or less in sync....but yes it is quite a headache keeping them synchronised...but you just gave me an idea. Docker does support inheritance so I think I will make a QGIS base image, then inherit from it for the various versions. I'll see if that can work. There are various other things we could try - like giving build time prefs. For now just hacking against master would be good.

luipir commented 8 years ago

+1 to a QGIS base dev image