Open
Description
The 2.8.9 and 2.8.4 version (and perhaps the 2.6 version) seems to have a build issue so the qgis executable is not created. I tried the docker-hub version and tried to build my own and saw a similar issue.
I need this for a legacy build so I'm going to keep working around this but if you have any tips, welcome. Maybe worth retiring 2.8 as it doesn't contain qgis
.
docker exec -t 9b14520d20d54017b4f12e450f5e28797d0ebce19592d6942fc23fd236c9906f \
qgis \
--code /opt/data/rasterScripts/lacPopulationZonalStats.py \
--nologo \
/opt/data/data/shp/continents-levels2-LAC_pop.shp
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"qgis\": executable file not found in $PATH": unknown
Here is the last error of the build process.
$ ./build.sh
Sending build context to Docker daemon 52.22kB
Step 1/6 : FROM ubuntu:16.04
16.04: Pulling from library/ubuntu
b234f539f7a1: Pull complete
55172d420b43: Pull complete
5ba5bbeb6b91: Pull complete
43ae2841ad7a: Pull complete
f6c9c6de4190: Pull complete
Digest: sha256:b050c1822d37a4463c01ceda24d0fc4c679b0dd3c43e742730e2884d3c582e3a
Status: Downloaded newer image for ubuntu:16.04
---> 5e8b97a2a082
Step 2/6 : MAINTAINER Tim Sutton<tim@kartoza.com>
---> Running in b24769e6ae12
Removing intermediate container b24769e6ae12
---> 417ab3347df7
Step 3/6 : ENV LANG C
...
[ 62%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/symbology-ng/qgssmartgroupeditordialog.cpp.o
[ 62%] Building CXX object src/gui/CMakeFiles/qgis_gui.dir/attributetable/qgsattributetabledelegate.cpp.o
The command '/bin/sh -c /build/scripts/getDeps.sh && /build/scripts/getCode.sh && /build/scripts/make.sh && /build/scripts/clean.sh' returned a non-zero code: 137
Metadata
Metadata
Assignees
Labels
No labels