Skip to content

Commit

Permalink
fix_with_mn
Browse files Browse the repository at this point in the history
  • Loading branch information
griembauer committed Jan 23, 2024
1 parent 207b6c9 commit c5a353e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions actinia-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ RUN gpt -h
# GRASS GIS SETUP
COPY --from=grass /usr/local/bin/grass /usr/local/bin/grass
COPY --from=grass /usr/local/grass* /usr/local/grass/
# COPY --from=grass /usr/lib/gdalplugins/*_GRASS* /usr/lib/gdalplugins/
COPY --from=grass /usr/local/grass/etc/proj/ /etc/proj/
COPY --from=grass /usr/local/grass/etc/colors/ /etc/colors/
RUN pip3 install --upgrade pip six grass-session --ignore-installed six
RUN ln -s /usr/local/grass `grass --config path`
RUN grass --tmp-location EPSG:4326 --exec g.version -rge && \
Expand Down Expand Up @@ -130,6 +133,12 @@ RUN mkdir -p /actinia_core/grassdb && \
VOLUME /grassdb
WORKDIR /src/actinia_core

RUN mkdir -p /usr/lib/gdalplugins
RUN git clone https://github.com/OSGeo/gdal-grass.git
RUN cd gdal-grass && ./configure --with-gdal=/usr/bin/gdal-config --with-grass=/usr/local/grass83 \
&& make && make install
RUN cd .. && rm -rf gdal-grass

ENTRYPOINT ["/bin/sh"]
CMD ["/src/start.sh"]

Expand Down
1 change: 1 addition & 0 deletions grass_addons_list.csv
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ t.rast.resample,/src/openeo-addons/t.rast.resample
# t.rast.udf,/src/openeo-addons/t.rast.udf
t.rast2strds,/src/openeo-addons/t.rast2strds
v.in.geojson,/src/openeo-addons/v.in.geojson
# todo: how to add -o to g.extension?
i.sentinel1.pyrosargeocode,https://github.com/NVE/actinia_modules_nve

0 comments on commit c5a353e

Please sign in to comment.