diff --git a/Dockerfile b/Dockerfile index 1acf2a4..99d883c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,9 @@ ADD overlay/ / RUN apk --update add --virtual .build-deps tar curl && \ apk --update add php8 php8-curl php8-fpm php8-gmp php8-intl php8-mbstring php8-xml \ - php8-zip php8-ctype php8-dom php8-fileinfo php8-iconv php8-json php8-session \ - php8-simplexml php8-xmlreader php8-zlib php8-pdo_sqlite php8-pdo_mysql\ - php8-pdo_pgsql && \ + php8-zip php8-ctype php8-dom php8-fileinfo php8-iconv php8-json php8-opcache php8-phar \ + php8-session php8-simplexml php8-xmlreader php8-xmlwriter php8-tokenizer php8-zlib \ + php8-pdo_sqlite php8-pdo_mysql php8-pdo_pgsql && \ rm -rf /var/www/localhost && \ rm -f /etc/php8/php-fpm.d/www.conf && \ mkdir -p /var/www/app && \ diff --git a/overlay/etc/templates/php.ini.tmpl b/overlay/etc/templates/php.ini.tmpl index 533cf20..0772582 100644 --- a/overlay/etc/templates/php.ini.tmpl +++ b/overlay/etc/templates/php.ini.tmpl @@ -21,7 +21,7 @@ serialize_precision = 17 open_basedir = "/var/www/app:/var/lib/php/tmp_upload:/var/lib/php/session:/var/lib/php/soap_cache" -disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, move_uploaded_file, chmod, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo +disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, move_uploaded_file, chmod, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo disable_classes = ;highlight.string = #DD0000 diff --git a/overlay/usr/local/bin/entrypoint b/overlay/usr/local/bin/entrypoint index 3242caf..3c314f1 100755 --- a/overlay/usr/local/bin/entrypoint +++ b/overlay/usr/local/bin/entrypoint @@ -50,7 +50,6 @@ if [ "${FRESHRSS_DEFAULT_USER}" ]; then log_info "FreshRSS user successfully created" ./cli/list-users.php | xargs -n1 ./cli/actualize-user.php --user "$FRESHRSS_DEFAULT_USER" else - rm -f /tmp/out.txt /tmp/err.txt log_error "FreshRSS error during the creation of a user: ${ERROR}" exit $EXITCODE fi