first commit
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
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
This commit is contained in:
13
tikiwiki/CVE-2020-15906/docker-entrypoint.sh
Normal file
13
tikiwiki/CVE-2020-15906/docker-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
Reference in New Issue
Block a user