From d6b628f34b01bf0f572b1c4dfba57286eb22bd24 Mon Sep 17 00:00:00 2001 From: pty <pierre.tysebaert@thalesgroup.com> Date: Fri, 24 Mar 2023 17:21:42 +0100 Subject: [PATCH] Ajout de l'installation de saga-gis dans le dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Dockerfile b/Dockerfile index 00b9269f..1b87af79 100755 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,7 @@ RUN --mount=type=secret,id=proxy_http_cnes --mount=type=secret,id=proxy_https_cn libmuparserx-dev \ libfftw3-dev \ libgsl-dev \ + libgtk-3-dev \ && \ rm -rf /var/lib/apt/lists/* @@ -85,6 +86,25 @@ RUN --mount=type=secret,id=proxy_http_cnes --mount=type=secret,id=proxy_https_cn ninja install && \ rm -rf /root/otb-build /tmp/OTB.zip + # Build wxWidgets + RUN mkdir -p /root/wxwidgets-build/ && \ + cd /root/wxwidgets-build && \ + git clone --branch v3.2.2 https://github.com/wxWidgets/wxWidgets.git && \ + cd wxWidgets && \ + git submodule update --init 3rdparty/pcre && \ + git submodule update --init 3rdparty/catch && \ + git submodule update --init 3rdparty/nanosvg && \ + ./configure --with-gtk && \ + make install -j4 + + # Build saga-gis + RUN mkdir -p /root/saga-gis-build/ && \ + cd /root/saga-gis-build && \ + git clone --branch saga-8.4.2 https://github.com/saga-gis/saga-gis.git && \ + mkdir saga-gis/build && cd saga-gis/build && \ + cmake ../saga-gis && \ + make install -j4 + # Build LIS ADD . /LIS_src/ RUN ln -s /usr/bin/python3 /usr/bin/python && \ -- GitLab