Update Dockerfile #5
2 changed files with 12 additions and 1 deletions
|
@ -15,7 +15,8 @@
|
||||||
# FROM nextcloud:27.0.2-apache
|
# FROM nextcloud:27.0.2-apache
|
||||||
# FROM nextcloud:27.1.1-apache
|
# FROM nextcloud:27.1.1-apache
|
||||||
# FROM nextcloud:27.1.3-apache
|
# FROM nextcloud:27.1.3-apache
|
||||||
FROM nextcloud:27.1.4-apache
|
# FROM nextcloud:27.1.4-apache
|
||||||
|
FROM nextcloud:28.0.1-apache
|
||||||
|
|
||||||
# This is a stupid comment for a demo (remove later)
|
# This is a stupid comment for a demo (remove later)
|
||||||
|
|
||||||
|
@ -52,6 +53,12 @@ RUN apt-get update \
|
||||||
RUN apt-get update && apt-get install -y libgmp3-dev \
|
RUN apt-get update && apt-get install -y libgmp3-dev \
|
||||||
&& docker-php-ext-install gmp
|
&& docker-php-ext-install gmp
|
||||||
|
|
||||||
|
##
|
||||||
|
## BZ2 Support (for nextcloud)
|
||||||
|
##
|
||||||
|
RUN apt-get update && apt-get install -y libbz2-dev \
|
||||||
|
&& docker-php-ext-install bz2
|
||||||
|
|
||||||
##
|
##
|
||||||
## SVG and LibreSign support
|
## SVG and LibreSign support
|
||||||
##
|
##
|
||||||
|
|
|
@ -6,8 +6,12 @@ set -e
|
||||||
cd /var/www/html
|
cd /var/www/html
|
||||||
echo "GYR:POSTDEPLOY:START ($(pwd))"
|
echo "GYR:POSTDEPLOY:START ($(pwd))"
|
||||||
find . -maxdepth 1
|
find . -maxdepth 1
|
||||||
|
php -d memory_limit=-1 occ maintenance:mode --on
|
||||||
php -d memory_limit=-1 occ upgrade
|
php -d memory_limit=-1 occ upgrade
|
||||||
php -d memory_limit=-1 occ db:convert-filecache-bigint
|
php -d memory_limit=-1 occ db:convert-filecache-bigint
|
||||||
php -d memory_limit=-1 occ db:add-missing-indices
|
php -d memory_limit=-1 occ db:add-missing-indices
|
||||||
|
php -d memory_limit=-1 occ maintenance:update:htaccess
|
||||||
|
php -d memory_limit=-1 occ maintenance:mode --off
|
||||||
|
php -d memory_limit=-1 occ maintenance:mode --off || true
|
||||||
echo "GYR:POSTDEPLOY:END"
|
echo "GYR:POSTDEPLOY:END"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue