Skip to content

Commit 0b467a3

Browse files
committed
update the version of docker image
1 parent d9daf97 commit 0b467a3

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/ecoextreml/stemmus_scope:1.6.0
1+
FROM ghcr.io/ecoextreml/stemmus_scope:1.6.1
22

33
LABEL maintainer="Bart Schilperoort <b.schilperoort@esciencecenter.nl>"
44
LABEL org.opencontainers.image.source = "https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing"

PyStemmusScope/bmi/docker_process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class StemmusScopeDocker:
8383
"""Communicate with a STEMMUS_SCOPE Docker container."""
8484

8585
# Default image, can be overridden with config:
86-
compatible_tags = ("1.6.0",)
86+
compatible_tags = ("1.6.1",)
8787

8888
_process_ready_phrase = b"Select BMI mode:"
8989
_process_finalized_phrase = b"Finished clean up."

docs/bmi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ To use the Docker image, use the `DockerImage` setting in the configuration file
1919
```sh
2020
WorkDir=/home/username/tmp/stemmus_scope
2121
...
22-
DockerImage=ghcr.io/ecoextreml/stemmus_scope:1.6.0
22+
DockerImage=ghcr.io/ecoextreml/stemmus_scope:1.6.1
2323
```
2424

25-
It is best to add the version tag here too (`:1.6.0`), this way the BMI will warn you if the version might be incompatible.
25+
It is best to add the version tag here too (`:1.6.1`), this way the BMI will warn you if the version might be incompatible.
2626

2727
Note that the `docker` package for python is required here. Install this with `pip install PyStemmusScope[docker]`.
2828
Additionally, [Docker](https://docs.docker.com/get-docker/) itself has to be installed.
@@ -52,7 +52,7 @@ If you need access to other model variables that are not yet available in the BM
5252

5353
A [Docker image is available](https://ghcr.io/ecoextreml/stemmus_scope-grpc4bmi) in which the model as well as the Python BMI have been wrapped in a container. The Docker image is created using the Docker file [here](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/blob/main/Dockerfile) and allows communication with a STEMMUS_SCOPE BMI through [grpc4bmi](https://grpc4bmi.readthedocs.io/en/latest/).
5454

55-
Doing so avoids the needs to install PyStemmusScope yourself, only Docker/apptainer and a python environment with grpc4bmi are required. Please note you should not specify `DockerImage` or `ExeFilePath` in the config file if you are using the grpc4bmi interface.
55+
Doing so avoids the needs to install PyStemmusScope yourself, only Docker/apptainer and a python environment with grpc4bmi are required. Please note you should not specify `DockerImage` or `ExeFilePath` in the config file if you are using the grpc4bmi interface.
5656

5757
A demonstration is available [here](notebooks/grpc4bmi_demo.ipynb)
5858

tests/test_data/config_file_docker.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ StartTime=1996-01-01T00:00
1313
EndTime=1996-01-01T02:00
1414
InputPath=
1515
OutputPath=
16-
DockerImage=ghcr.io/ecoextreml/stemmus_scope:1.6.0
16+
DockerImage=ghcr.io/ecoextreml/stemmus_scope:1.6.1

0 commit comments

Comments
 (0)