Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,8 @@ RUN grass --tmp-project EPSG:25832 --exec r.in.pdal input="/tmp/simple.laz" outp
WORKDIR /grassdb
VOLUME /grassdb

CMD ["$GRASSBIN", "--version"]
CMD grass --version \
&& printf "\nUsage:\n" \
&& printf " - Shell: docker run -it [IMAGE] /bin/bash\n" \
&& printf " - GRASS: docker run [IMAGE] grass [...args]\n" \
&& printf "\nSee https://github.com/OSGeo/grass/blob/main/docker/README.md for more information.\n"
8 changes: 6 additions & 2 deletions docker/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c as common
FROM alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c AS common

# Based on:
# https://github.com/mundialis/docker-grass-gis/blob/master/Dockerfile
Expand Down Expand Up @@ -229,4 +229,8 @@ RUN ln -sf /usr/local/grass /usr/local/grass85; \
WORKDIR /grassdb
VOLUME /grassdb

CMD ["$GRASSBIN", "--version"]
CMD grass --version \
&& printf "\nUsage:\n" \
&& printf " - Shell: docker run -it [IMAGE] /bin/bash\n" \
&& printf " - GRASS: docker run [IMAGE] grass [...args]\n" \
&& printf "\nSee https://github.com/OSGeo/grass/blob/main/docker/README.md for more information.\n"
6 changes: 5 additions & 1 deletion docker/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,8 @@ RUN grass --tmp-project EPSG:25832 --exec r.in.pdal input="/tmp/simple.laz" outp

WORKDIR /grassdb
VOLUME /grassdb
CMD ["$GRASSBIN", "--version"]
CMD grass --version \
&& printf "\nUsage:\n" \
&& printf " - Shell: docker run -it [IMAGE] /bin/bash\n" \
&& printf " - GRASS: docker run [IMAGE] grass [...args]\n" \
&& printf "\nSee https://github.com/OSGeo/grass/blob/main/docker/README.md for more information.\n"
6 changes: 5 additions & 1 deletion docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,8 @@ RUN grass --tmp-project EPSG:25832 --exec r.in.pdal input="/tmp/simple.laz" outp
WORKDIR /grassdb
VOLUME /grassdb

CMD ["$GRASSBIN", "--version"]
CMD grass --version \
&& printf "\nUsage:\n" \
&& printf " - Shell: docker run -it [IMAGE] /bin/bash\n" \
&& printf " - GRASS: docker run [IMAGE] grass [...args]\n" \
&& printf "\nSee https://github.com/OSGeo/grass/blob/main/docker/README.md for more information.\n"
7 changes: 6 additions & 1 deletion docker/ubuntu_wxgui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,9 @@ RUN grass --tmp-project EPSG:25832 --exec r.in.pdal input="/tmp/simple.laz" outp

WORKDIR /grassdb
VOLUME /grassdb
CMD ["$GRASSBIN", "--version"]

CMD grass --version \
&& printf "\nUsage:\n" \
&& printf " - Shell: docker run -it [IMAGE] /bin/bash\n" \
&& printf " - GRASS: docker run [IMAGE] grass [...args]\n" \
&& printf "\nSee https://github.com/OSGeo/grass/blob/main/docker/README.md for more information.\n"