mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-14 15:34:48 +02:00
parent
bf4ee693f4
commit
87339c73fc
2 changed files with 1 additions and 3 deletions
|
@ -41,8 +41,6 @@ RUN set -ex; \
|
||||||
pcre-dev \
|
pcre-dev \
|
||||||
postgresql-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 ftp --with-openssl-dir=/usr; \
|
||||||
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \
|
||||||
|
|
|
@ -225,7 +225,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
echo "Starting nextcloud installation"
|
echo "Starting nextcloud installation"
|
||||||
max_retries=10
|
max_retries=10
|
||||||
try=0
|
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
|
do
|
||||||
echo "Retrying install..."
|
echo "Retrying install..."
|
||||||
try=$((try+1))
|
try=$((try+1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue