[GRASS-dev] Docker image based on Alpine Linux with GRASS GIS 7.7.git and wxGUI

Markus Neteler neteler at osgeo.org
Thu Aug 1 15:51:11 PDT 2019


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:
>>
>> Hi,
>>
>> 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.
>>
>> https://cloud.docker.com/repository/registry-1.docker.io/neteler/docker-alpine-grass-gis-gui/builds/c8c39f18-33cb-44df-a669-23f8cdc5682f
>
>
> 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:

https://data.neteler.org/tmp/alpine_grass_wxgui_dockerhub.log.gz

>> /usr/bin/install -c -m 644 wxgui.py
>> /src/grass_build/dist.x86_64-pc-linux-gnu/gui/wxpython/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?

Yes:
https://github.com/OSGeo/grass/blob/master/docker/Dockerfile_alpine_wxgui#L198

> 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
> /usr/local/grass77
> $ ls $GISBASE/gui
> ls: /usr/local/grass77/gui: No such file or directory

Exactly. Apparently there is a condition somewhere in the wxGUI Makefiles?

Markus


More information about the grass-dev mailing list