1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
# Docker GRASS GIS (alpine linux)
Dockerfile with an [Alpine Linux](https://www.alpinelinux.org/) image with
[GRASS GIS](https://grass.osgeo.org/), [PDAL](https://pdal.io) support.
Download size of this image is only approximately 80 MB.
Clone this repository and change directory:
```bash
git clone https://github.com/OSGeo/grass.git
cd grass
```
__Build the docker with__:
```bash
docker build \
--file docker/alpine/Dockerfile \
--tag grass-py3-pdal:latest-alpine .
```
View the images available using `sudo docker images` and open a bash terminal
with:
```bash
$ docker run -it grass-py3-pdal:latest-alpine /bin/bash
bash-5.0#
```
__To build a stable version__:
change to the releasebranch or tag you want to build:
```bash
git checkout remotes/origin/releasebranch_8_2
```
and build and enter with:
```bash
$ docker build \
-f docker/alpine/Dockerfile \
-t grass-py3-pdal:stable-alpine .
$ docker run -it grass-py3-pdal:stable-alpine /bin/bash
bash-5.0#
```
|