diff --git a/packages/yasqe/grammar/README.md b/packages/yasqe/grammar/README.md index 64abf806..84ff0b7d 100644 --- a/packages/yasqe/grammar/README.md +++ b/packages/yasqe/grammar/README.md @@ -2,7 +2,7 @@ ## Prerequisites -- SWI Prolog +- SWI Prolog 7.x ## How to make modifications to grammar: diff --git a/packages/yasqe/grammar/build.sh b/packages/yasqe/grammar/build.sh index b0ca8b6c..e8824cda 100755 --- a/packages/yasqe/grammar/build.sh +++ b/packages/yasqe/grammar/build.sh @@ -1,2 +1,10 @@ #!/bin/bash -swipl -s util/gen_sparql11.pl -t go +set -eu + +docker pull swipl:7.5.11 +docker container run --rm \ + --volume $(pwd -P):/app \ + --workdir /app \ + --user 1000:1000 \ + swipl:7.5.11 \ + swipl -s /app/util/gen_sparql11.pl -t go