Docker update and POM fix
[music.git] / distribution / cassandra / docker-entrypoint.sh
index cec4587..2e2c657 100644 (file)
@@ -1,6 +1,11 @@
 #!/bin/bash
 set -e
 
+for f in /docker-entrypoint-initdb.d/*.cql; do
+    chown cassandra.root "$f"
+done
+
+
 # first arg is `-f` or `--some-option`
 # or there are no args
 if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then