Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: update readme (use latest tag) #4131

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
8 changes: 3 additions & 5 deletions docker/alpine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ 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#
docker run -it grass-py3-pdal:latest-alpine grass --version
```

__To build a stable version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -43,6 +42,5 @@ $ 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#
$ docker run -it grass-py3-pdal:stable-alpine grass --version
```
8 changes: 3 additions & 5 deletions docker/debian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ View the images available using `sudo docker images` and open a bash terminal
with:

```bash
$ docker run -it grass-py3-pdal:latest-debian /bin/bash
bash-5.0#
docker run -it grass-py3-pdal:latest-debian grass --version
```

__To build a stable version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -43,6 +42,5 @@ $ docker build \
-f docker/debian/Dockerfile \
-t grass-py3-pdal:stable-debian .

$ docker run -it grass-py3-pdal:stable-debian /bin/bash
bash-5.0#
$ docker run -it grass-py3-pdal:stable-debian grass --version
```
16 changes: 6 additions & 10 deletions docker/ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@ 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#
docker run -it grass-py3-pdal:stable-ubuntu grass --version
```

__To build a stable version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -45,8 +44,7 @@ $ docker build \
-f docker/ubuntu/Dockerfile \
-t grass-py3-pdal:stable-ubuntu .

$ docker run -it grass-py3-pdal:stable-ubuntu /bin/bash
bash-5.0#
$ docker run -it grass-py3-pdal:stable-ubuntu grass --version
```

## Ubuntu latest
Expand All @@ -63,16 +61,15 @@ 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#
docker run -it grass-py3-pdal:latest-ubuntu grass --version
```

__To build a latest version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -82,8 +79,7 @@ $ docker build \
-f docker/ubuntu/Dockerfile_ubuntu_latest_pdal \
-t grass-py3-pdal:latest-ubuntu .

$ docker run -it grass-py3-pdal:latest-ubuntu /bin/bash
bash-5.0#
$ docker run -it grass-py3-pdal:latest-ubuntu grass --version
```

__To build a latest version with wxgui__:
Expand Down
16 changes: 6 additions & 10 deletions docker/ubuntu_wxgui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@ 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#
docker run -it grass-py3-pdal:stable-ubuntu grass --version
```

__To build a stable version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -45,8 +44,7 @@ $ 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#
$ docker run -it grass-py3-pdal:stable-ubuntu grass --version
```

## Ubuntu latest
Expand All @@ -63,16 +61,15 @@ 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#
docker run -it grass-py3-pdal:latest-ubuntu grass --version
```

__To build a latest version__:

change to the releasebranch or tag you want to build:

```bash
git checkout remotes/origin/releasebranch_8_2
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

and build and enter with:
Expand All @@ -82,6 +79,5 @@ $ 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#
$ docker run -it grass-py3-pdal:latest-ubuntu grass --version
```
Loading