Hi, 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... Cheers Stefan -----Original Message----- From: grass-dev <grass-dev-boun...@lists.osgeo.org> On Behalf Of Markus Neteler Sent: fredag 2. august 2019 00:51 To: Vaclav Petras <wenzesl...@gmail.com> Cc: GRASS developers list <firstname.lastname@example.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 <wenzesl...@gmail.com> wrote: > On Thu, Aug 1, 2019 at 1:22 PM Markus Neteler <nete...@osgeo.org> wrote: >> >> Hi, >> >> On Thu, Aug 1, 2019 at 1:59 AM Vaclav Petras <wenzesl...@gmail.com> wrote: >> > On Wed, Jul 31, 2019 at 11:41 AM Markus Neteler <nete...@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/dock >> er-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 _______________________________________________ grass-dev mailing list email@example.com https://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list firstname.lastname@example.org https://lists.osgeo.org/mailman/listinfo/grass-dev