stain / jena-docker

Docker image for Apache Jena riot
Apache License 2.0
99 stars 86 forks source link

Current `load.sh` does not allow to specify other parameters for the tdbloader #42

Closed kuzeko closed 3 years ago

kuzeko commented 4 years ago

The script provides a list of files but does not allow to set other options, e.g., the graph name --graph=https://example.org/graph#name

https://github.com/stain/jena-docker/blob/0074865d53f710d85f72af14c103aaef595a2244/jena-fuseki/load.sh#L72

stain commented 3 years ago

Can we just add a "$@" before $files ?

stain commented 3 years ago

Could not easily do it with "$@" as load.sh takes a list of file patterns as arguments. Instead set environment variable which is probably more helpful for Dockerfile usage.

Set the environment variable TDBLOADER_OPTS for any additional options to pass to tdbloader, e.g. --graph=https://example.org/graph#name