Skip to content

Commit e4de88b

Browse files
committed
feat(frankenphp): Clear dbrunner cache on starting up
Fixes #84
1 parent 318e38f commit e4de88b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frankenphp/docker-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
3333
fi
3434
fi
3535

36+
echo "Cleaning up dbrunner cache..."
37+
php bin/console cache:pool:clear cache.dbrunner || true
38+
3639
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
3740
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var
3841
fi

0 commit comments

Comments
 (0)