mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02:00
Merge pull request #3470 from reasonerjt/habor-db-on-mariadb
Fix the bug to change permission of bootstrap scripts
This commit is contained in:
commit
630921812b
@ -69,7 +69,7 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" -a "$(id -u)" = '0' ]; then
|
||||
mkdir -p "$DATADIR"
|
||||
chown -R mysql:mysql "$DATADIR"
|
||||
if [ -d '/docker-entrypoint-initdb.d' ]; then
|
||||
chmod -R +rx /docker-entrypoint-updatedb.d
|
||||
chmod -R +rx /docker-entrypoint-initdb.d
|
||||
fi
|
||||
if [ -d '/docker-entrypoint-updatedb.d' ]; then
|
||||
chmod -R +rx /docker-entrypoint-updatedb.d
|
||||
|
Loading…
Reference in New Issue
Block a user