[GRASS-dev] [GRASS-SVN] r71318 - grass/trunk

Markus and Vaclav,

Is this a runnable version of GRASS under Docker or a compilable version of GRASS?

Cheers
Michael


C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Jul 29, 2017, at 1:00 PM, grass-dev-request@lists.osgeo.org wrote:

From: Vaclav Petras <wenzeslaus@gmail.com>

Subject: [GRASS-dev] Dockerfile now in repo

Date: July 29, 2017 at 10:15:25 AM MDT

To:grass-dev@lists.osgeo.org” <grass-dev@lists.osgeo.org>

Hi all,

I just added a Dockerfile to the Subversion repository. The Dockerfile uses the local source code, i.e. typically what you get with svn, because it is a part of the source code. It it not downloading any GRASS GIS source code by itself, so you can make changes in the source code locally and rebuild the image (you need to tell Docker to remove the existing image (layer) or to not use cache).

It is using Ubuntu, but something more lightweight may be more appropriate, some other images, on the other hand, may bring some additional features. It is not installing any GRASS addons or using PPA repositories.

The documentation is in the README (yes, we have a README file ;-). I hope it is the right place. It contains example which runs all the tests. It assumes you have NC SPM location on your (local) disk.

The image keeps the source code (the source code is not removed) and it has one volume which you mount and that’s where the data are supposed to be.

Please, send the feedback here. Let me know if it fits your use cases and open tickets if you have some requests.

Vaclav

From: Markus Neteler <neteler@osgeo.org>

Subject: Re: [GRASS-dev] [GRASS-SVN] r71318 - grass/trunk

Date: July 29, 2017 at 11:56:37 AM MDT

To: GRASS developers list <grass-dev@lists.osgeo.org>

Hi

On Jul 29, 2017 6:04 PM, <svn_grass@osgeo.org> wrote:

Author: wenzeslaus
Date: 2017-07-29 09:04:18 -0700 (Sat, 29 Jul 2017)
New Revision: 71318

Added:
grass/trunk/Dockerfile
Modified:
grass/trunk/README
Log:
Dockerfile for the local source code with doc in README

Added: grass/trunk/Dockerfile

Great to see docker support!

Here a quick review: I think that some entries can be removed:

  • libncurses5-dev
    AFAIK there is no ncurses in GRASS since G7.0.

  • libreadline-dev
    This is only used to have readline within r.mapcalc, not sure if needed.

  • libxmu-dev
    libxmu-dev? X11 is for long no dependency…

+# install GRASS GIS
+RUN ./configure

  • –with-pthread
    pthread is only used with r.mapcalc parser but internally disabled through workers=0 to avoid errors. I’d take it out.

Best
Markus