Skip to content
Snippets Groups Projects

Ajout de l'installation de saga-gis dans le dockerfile

Merged Aurore Dupuis requested to merge saga-gis-support into develop
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
+ 20
0
@@ -52,6 +52,7 @@ RUN --mount=type=secret,id=proxy_http_cnes --mount=type=secret,id=proxy_https_cn
@@ -52,6 +52,7 @@ RUN --mount=type=secret,id=proxy_http_cnes --mount=type=secret,id=proxy_https_cn
libmuparserx-dev \
libmuparserx-dev \
libfftw3-dev \
libfftw3-dev \
libgsl-dev \
libgsl-dev \
 
libgtk-3-dev \
&& \
&& \
rm -rf /var/lib/apt/lists/*
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
@@ -85,6 +86,25 @@ RUN --mount=type=secret,id=proxy_http_cnes --mount=type=secret,id=proxy_https_cn
ninja install && \
ninja install && \
rm -rf /root/otb-build /tmp/OTB.zip
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
# Build LIS
ADD . /LIS_src/
ADD . /LIS_src/
RUN ln -s /usr/bin/python3 /usr/bin/python && \
RUN ln -s /usr/bin/python3 /usr/bin/python && \
Loading