c4k-nextcloud/infrastructure/nextcloud/image/resources/install.sh

20 lines
498 B
Bash
Raw Normal View History

#!/bin/bash
2023-12-07 20:54:20 +00:00
set -exo pipefail
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
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
}
2023-12-07 20:54:20 +00:00
source /tmp/install_functions.sh
main