ff5ea7dd39
- Add dependencies for gettext and PDF support - add whois and netbase to support whois checks - remove docker/mysql.php because configuration should be done via environment variables - install CAcert CA certificates to allow retrieval of translation data from translations.cacert.org - build i18n files on start of application container - disable broken OCSP stapling for local certificates - add language data during database initialization
23 lines
781 B
Bash
Executable file
23 lines
781 B
Bash
Executable file
#!/bin/sh
|
|
set -eux
|
|
|
|
# Apache gets grumpy about PID files pre-existing
|
|
rm -f /run/apache2/apache2.pid
|
|
|
|
cp /usr/local/etc/testca/certs/test.cacert.localhost.crt.pem /etc/ssl/certs/
|
|
cp /usr/local/etc/testca/certs/test.cacert.localhost.key.pem /etc/ssl/private/
|
|
(
|
|
openssl x509 -in /usr/local/etc/testca/class3/ca.crt.pem
|
|
openssl x509 -in /usr/local/etc/testca/root/ca.crt.pem
|
|
) >/etc/ssl/certs/combined.crt
|
|
|
|
cp /usr/local/etc/testca/certs/secure.test.cacert.localhost.crt.pem /etc/ssl/certs/
|
|
cp /usr/local/etc/testca/certs/secure.test.cacert.localhost.key.pem /etc/ssl/private/
|
|
|
|
cp /usr/local/etc/application/feed.rss /www/pages/index/feed.rss
|
|
|
|
make -C /www/locale
|
|
|
|
apache2ctl start "$@"
|
|
|
|
exec tail -F --follow=name --retry /var/log/apache2/error.log /var/log/apache2/phperror.log
|