2021-08-09 22:41:53 +00:00
|
|
|
#!/bin/bash
|
2023-12-07 20:54:20 +00:00
|
|
|
set -exo pipefail
|
2021-08-09 22:41:53 +00:00
|
|
|
|
2023-12-07 20:54:20 +00:00
|
|
|
function main() {
|
|
|
|
{
|
|
|
|
upgradeSystem
|
|
|
|
apt-get install -qqy ca-certificates curl gnupg postgresql-client
|
|
|
|
mkdir /var/data
|
|
|
|
} > /dev/null
|
2021-10-22 12:53:10 +00:00
|
|
|
|
2023-12-07 20:54:20 +00:00
|
|
|
install -m 0700 /tmp/install-debug.sh /usr/local/bin/
|
|
|
|
install -m 0544 /tmp/upload-max-limit.ini /usr/local/etc/php/conf.d/
|
|
|
|
install -m 0544 /tmp/memory-limit.ini /usr/local/etc/php/conf.d/
|
|
|
|
install -m 0755 /tmp/entrypoint.sh /
|
|
|
|
|
|
|
|
cleanupDocker
|
|
|
|
}
|
2021-08-09 22:41:53 +00:00
|
|
|
|
2023-12-07 20:54:20 +00:00
|
|
|
source /tmp/install_functions.sh
|
|
|
|
main
|