0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-13 23:14:48 +02:00
Signed-off-by: Aakash788 <aakashparmar788@gmail.com>
This commit is contained in:
Aakash788 2024-07-05 21:10:51 +05:30
parent bf4ee693f4
commit 87339c73fc
2 changed files with 1 additions and 3 deletions

View file

@ -41,8 +41,6 @@ RUN set -ex; \
pcre-dev \
postgresql-dev \
; \
# Install diffutils to address diff dependencies issue
apk add --no-cache diffutils; \
\
docker-php-ext-configure ftp --with-openssl-dir=/usr; \
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \

View file

@ -225,7 +225,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
echo "Starting nextcloud installation"
max_retries=10
try=0
until run_as "php /var/www/html/occ maintenance:install $install_options" || [ "$try" -gt "$max_retries" ]
until [ "$try" -gt "$max_retries" ] || run_as "php /var/www/html/occ maintenance:install $install_options"
do
echo "Retrying install..."
try=$((try+1))