File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,23 @@ From: ubuntu:23.10
7
7
apt-get install -y --no-install-recommends \
8
8
wget ca-certificates \
9
9
qgis qgis-plugin-grass \
10
- openmpi-bin
10
+ openmpi-bin \
11
+ libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libpango-1.0-0 \
12
+ libxcomposite1 libxdamage1 libxrandr2 libasound2 libatspi2.0-0
11
13
rm -rf /var/lib/apt/lists/*
12
14
13
15
# SWAT
14
- wget https://plus.swat.tamu.edu/downloads/2.3/2.3.1/swatplus-linux-installer-2.3.1.tgz
16
+ wget -q https://plus.swat.tamu.edu/downloads/2.3/2.3.1/swatplus-linux-installer-2.3.1.tgz
15
17
rm -rf /var/lib/apt/lists/*
16
18
tar xf swatplus-linux-installer-2.3.1.tgz
17
19
./installforall.sh
18
20
rm *.sh
19
21
chmod -R o+rx /usr/share/qgis/python/plugins/QSWATPlusLinux3_64
20
22
chmod -R o+rx /usr/local/share/SWATPlus
23
+ chmod 4755 /usr/local/share/SWATPlus/SWATPlusEditor/chrome-sandbox
24
+
25
+ # soil model
26
+ wget -q https://bitbucket.org/swatplus/swatplus.editor/downloads/swatplus_soils.sqlite -P /usr/local/share/SWATPlus/Databases
21
27
22
28
# $ /usr/local/share/SWATPlus/TauDEM5Bin/pitremove
23
29
# ./pitremove: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No such file or directory
@@ -28,6 +34,7 @@ From: ubuntu:23.10
28
34
29
35
%environment
30
36
export QSWAT_PROJECT=/usr/share/qgis/python/plugins/QSWATPlusLinux3_64
37
+ export LD_LIBRARY_PATH=/usr/local/share/SWATPlus/SWATPlusEditor:$LD_LIBRARY_PATH
31
38
export LC_ALL=C.UTF-8
32
39
33
40
%labels
You can’t perform that action at this time.
0 commit comments