Skip to content

Commit

Permalink
WIP Use pwd for providing full path in mount #14
Browse files Browse the repository at this point in the history
  • Loading branch information
sroertgen committed Jan 29, 2024
1 parent e74fe9e commit e5b4c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validate-skos
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ echo "Starting validation container"

while [ $attempt -le $max_attempts ]; do
# start fuseki
docker run -d --rm --name validate-skos-fuseki -p 0:3030 -v /fuseki/config_inference.ttl:/fuseki/config_inference.ttl skohub/jena-fuseki:latest /jena-fuseki/fuseki-server --config /fuseki/config_inference.ttl > /dev/null
docker run -d --rm --name validate-skos-fuseki -p 0:3030 -v $(pwd)/fuseki/config_inference.ttl:/fuseki/config_inference.ttl skohub/jena-fuseki:latest /jena-fuseki/fuseki-server --config /fuseki/config_inference.ttl > /dev/null
port=$(docker port validate-skos-fuseki 3030/tcp | head -1 | awk -F: '{print $2}')
sleep $delay
curl "http://localhost:$port/$/ping" > /dev/null && break
Expand Down

0 comments on commit e5b4c2e

Please sign in to comment.