Skip to content

Commit 80ccb36

Browse files
supermaxistermfrankencmdoret
authored
Fixed container image name (#4)
* Fixed container image name * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> * Update README.md Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org> --------- Co-authored-by: rmfranken <77491494+rmfranken@users.noreply.github.com> Co-authored-by: Cyril Matthey-Doret <cmdoret@mailbox.org>
1 parent 09e93ff commit 80ccb36

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,26 +87,26 @@ The tools print the validation report or the inferences graph to the output scre
8787
The `Dockerfile` in the `.docker` folder includes a minimal Java Runtime Environment for the SHACL API that clocks in at 144Mb. To get the latest release of the image use:
8888

8989
```
90-
docker pull ghcr.io/SDSC-ORD/shacl:1.4.2
90+
docker pull ghcr.io/sdsc-ord/shacl:latest
9191
```
92-
92+
> :warning: It is generally better to used a fixed version of the docker image, rather than the `latest` tag. Consult the [package page](https://github.com/SDSC-ORD/shacl/pkgs/container/shacl) find what versions are available.
9393
To use the Docker image, there are two possible commands. To run the validator:
9494

9595
```
96-
docker run --rm -v /path/to/data:/data ghcr.io/SDSC-ORD/shacl:1.4.2 validate -datafile /data/myfile.ttl -shapesfile /data/myshapes.ttl
96+
docker run --rm -v /path/to/data:/data ghcr.io/sdsc-ord/shacl:latest validate -datafile /data/myfile.ttl -shapesfile /data/myshapes.ttl
9797
```
9898

9999
To run rule inferencing:
100100

101101
```
102-
docker run --rm -v /path/to/data:/data ghcr.io/SDSC-ORD/shacl:1.4.2 infer -datafile /data/myfile.ttl -shapesfile /data/myshapes.ttl
102+
docker run --rm -v /path/to/data:/data ghcr.io/sdsc-ord/shacl:latest infer -datafile /data/myfile.ttl -shapesfile /data/myshapes.ttl
103103
```
104104

105-
Any other command after `ghcr.io/SDSC-ORD/shacl:1.4.2` will print the following help page:
105+
Any other command after `ghcr.io/sdsc-ord/shacl:latest` will print the following help page:
106106

107107
```
108108
Please use this docker image as follows:
109-
docker run -v /path/to/data:/data ghcr.io/SDSC-ORD/shacl:1.4.2 [COMMAND] [PARAMETERS]
109+
docker run -v /path/to/data:/data ghcr.io/sdsc-ord/shacl:latest [COMMAND] [PARAMETERS]
110110
COMMAND:
111111
validate
112112
to run validation
@@ -122,5 +122,5 @@ PARAMETERS:
122122
If you'd like to build the image locally, use:
123123

124124
```
125-
docker build -f .docker/Dockerfile -t ghcr.io/SDSC-ORD/shacl:1.4.2 --build-arg VERSION=1.4.2 .
125+
docker build -f .docker/Dockerfile -t ghcr.io/sdsc-ord/shacl:latest --build-arg VERSION=1.4.2 .
126126
```

0 commit comments

Comments
 (0)