[GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI
Stefan.Blumentrath at nina.no
Wed Aug 14 02:38:18 PDT 2019
No Idea if it helps: for our national e-infrastructure I had to customize a docker file based on Ubuntu. There, I initially also struggled with the GUI (import error for wx), but after adding the packages here:
https://github.com/ninsbl/doctest/blob/master/novnc/Dockerfile#L156 (until line 162)
It worked with GRASS 7.9 and Python3 in a Docker container.
The Dockerfile contains lots of packages, so I cannot guarantee that other packages I had installed earlier are not required in addition...
From: grass-dev <grass-dev-bounces at lists.osgeo.org> On Behalf Of Markus Neteler
Sent: fredag 2. august 2019 00:51
To: Vaclav Petras <wenzeslaus at gmail.com>
Cc: GRASS developers list <grass-dev at lists.osgeo.org>
Subject: Re: [GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI
On Thu, Aug 1, 2019 at 9:23 PM Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Thu, Aug 1, 2019 at 1:22 PM Markus Neteler <neteler at osgeo.org> wrote:
>> On Thu, Aug 1, 2019 at 1:59 AM Vaclav Petras <wenzeslaus at gmail.com> wrote:
>> > On Wed, Jul 31, 2019 at 11:41 AM Markus Neteler <neteler at osgeo.org> wrote:
>> >> In fact, $GISBASE/gui/wxpython/wxgui.py isn't present in the docker image.
>> >> Do you have an idea what to look for (say, what does it (not) generate)?
>> > Hi Markus, wxgui.py is a file copied from source to distribution by make, so the question is what compilation output says.
> The link does not work for me. Do I have to create an account?
I guess it is only visible to me.
I have downloaded it - you can get it now from here:
>> /usr/bin/install -c -m 644 wxgui.py
> This says /src/grass_build/dist.x86_64-pc-linux-gnu/. I assume it is from "make" but the GRASS GIS there is running from /usr/local/grass77, so I assume there is also the "make install" step?
> I did:
> $ docker run -i -t --rm -v $(pwd):/tmp -v
> /tmp/.X11-unix:/tmp/.X11-unix -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name grass77 neteler/docker-alpine-grass-gis-gui grass77 --tmp-location XY --exec bash ...
> $ ls /src
> $ echo $GISBASE
> $ ls $GISBASE/gui
> ls: /usr/local/grass77/gui: No such file or directory
Exactly. Apparently there is a condition somewhere in the wxGUI Makefiles?
grass-dev mailing list
grass-dev at lists.osgeo.org
More information about the grass-dev