-
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: reorganize ubuntu_wxgui for docker image creation (#2764)
* move docker/ubuntu/wxgui/Dockerfile to own directory in order to enable automated docker image creation. * update README.md for new docker/ubuntu_wxgui/Dockerfile path
- Loading branch information
Showing
4 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ jobs: | |
- alpine | ||
- debian | ||
- ubuntu | ||
- ubuntu_wxgui | ||
fail-fast: false | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Docker GRASS GIS (Ubuntu Linux) | ||
|
||
Dockerfile with an [Ubuntu Linux](https://ubuntu.com/) image with | ||
[GRASS GIS](https://grass.osgeo.org/), [PDAL](https://pdal.io) support and | ||
[grass-session](https://github.com/zarch/grass-session/). | ||
|
||
Download size of this image is of approximately 2.6 GB. | ||
|
||
Clone this repository and change directory: | ||
|
||
```bash | ||
git clone https://github.com/OSGeo/grass.git | ||
cd grass | ||
``` | ||
|
||
## Ubuntu stable | ||
|
||
__Build the docker with__: | ||
|
||
```bash | ||
docker build \ | ||
--file docker/ubuntu_wxgui/Dockerfile \ | ||
--tag grass-py3-pdal:stable-ubuntu . | ||
``` | ||
|
||
View the images available using `sudo docker images` and open a bash terminal | ||
with: | ||
|
||
```bash | ||
$ docker run -it grass-py3-pdal:stable-ubuntu /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/ubuntu_wxgui/Dockerfile \ | ||
-t grass-py3-pdal:stable-ubuntu . | ||
|
||
$ docker run -it grass-py3-pdal:stable-ubuntu /bin/bash | ||
bash-5.0# | ||
``` | ||
|
||
## Ubuntu latest | ||
|
||
__Build the docker with__: | ||
|
||
```bash | ||
$ docker build \ | ||
--file docker/ubuntu_wxgui/Dockerfile_ubuntu_wxgui_latest_pdal \ | ||
--tag grass-py3-pdal:latest-ubuntu . | ||
``` | ||
|
||
View the images available using `sudo docker images` and open a bash terminal | ||
with: | ||
|
||
```bash | ||
$ docker run -it grass-py3-pdal:latest-ubuntu /bin/bash | ||
bash-5.0# | ||
``` | ||
|
||
__To build a latest 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/ubuntu_wxgui/Dockerfile_ubuntu_wxgui_latest_pdal \ | ||
-t grass-py3-pdal:latest-ubuntu . | ||
|
||
$ docker run -it grass-py3-pdal:latest-ubuntu /bin/bash | ||
bash-5.0# | ||
``` |