Make Docker Image for GraphDB
This commit is contained in:
parent
b0170a7611
commit
f92d2c6646
3 changed files with 71 additions and 4 deletions
10
images/triplestore/entrypoint.sh
Normal file
10
images/triplestore/entrypoint.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# chown the volumes to graphdb
|
||||
chown -R graphdb:graphdb /opt/graphdb/data
|
||||
chown -R graphdb:graphdb /opt/graphdb/work
|
||||
chown -R graphdb:graphdb /opt/graphdb/logs
|
||||
|
||||
# run graphdb as a limited user
|
||||
su graphdb -c "/opt/graphdb/bin/graphdb $@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue