diff --git a/php/Dockerfile b/php/Dockerfile index c3a2baf..4a6b11a 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -35,7 +35,7 @@ RUN \ # community download and package as apt source repository . /kopano/helper/create-kopano-repo.sh && \ if [ ${DOWNLOAD_COMMUNITY_PACKAGES} -eq 1 ]; then \ - dl_and_package_community "core"; \ + dl_and_package_community "core" "Debian_10"; \ fi; \ echo "deb [${KOPANO_REPOSITORY_FLAGS}] ${KOPANO_CORE_REPOSITORY_URL} ./" > /etc/apt/sources.list.d/kopano.list; \ # install @@ -51,10 +51,10 @@ RUN \ # configure php-fpm RUN \ mkdir -p /run/php && chown www-data:www-data /run/php && \ - crudini --set /etc/php/7.0/fpm/php.ini PHP upload_max_filesize 500M && \ - crudini --set /etc/php/7.0/fpm/php.ini PHP post_max_size 500M && \ - crudini --set /etc/php/7.0/fpm/php.ini PHP max_input_vars 1800 && \ - crudini --set /etc/php/7.0/fpm/php.ini Session session.save_path /run/sessions + crudini --set /etc/php/7.3/fpm/php.ini PHP upload_max_filesize 500M && \ + crudini --set /etc/php/7.3/fpm/php.ini PHP post_max_size 500M && \ + crudini --set /etc/php/7.3/fpm/php.ini PHP max_input_vars 1800 && \ + crudini --set /etc/php/7.3/fpm/php.ini Session session.save_path /run/sessions EXPOSE 9080/tcp diff --git a/webapp/start.sh b/webapp/start.sh index 0e9254b..77dd903 100755 --- a/webapp/start.sh +++ b/webapp/start.sh @@ -82,5 +82,5 @@ set +u # cleaning up env variables unset "${!KCCONF_@}" echo "Starting php-fpm" -php-fpm7.0 -F & +php-fpm7.3 -F & exec /usr/libexec/kopano/kwebd caddy -conf /etc/kweb.cfg