Files
vulhub/tikiwiki/CVE-2020-15906/docker-entrypoint.sh
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

14 lines
345 B
Bash

#!/bin/bash
wait-for-it db:3306 -- echo "database is up"
if [[ ! -e ./db/local.php ]]; then
php console.php database:configure --host db -- root root tikiwiki
php console.php database:install
php console.php users:password -- admin vulhub
php console.php index:rebuild
php console.php installer:lock
fi
apache2-foreground