diff --git a/Dockerfile b/Dockerfile index 1d95e60..8289801 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ -FROM php:7.4-fpm-alpine3.13 +FROM php:8.0-fpm-alpine3.13 RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" +ADD ./custom_params.ini /usr/local/etc/php/conf.d/docker-php-x-01-custom-params.ini RUN apk update @@ -29,32 +30,19 @@ RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxm RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf RUN docker-php-ext-install \ - phar \ bcmath \ + bz2 \ calendar \ - mbstring \ exif \ - ftp \ - zip \ - sysvsem \ - sysvshm \ - sysvmsg \ - shmop \ - sockets \ - bz2 \ - curl \ - simplexml \ - xml \ opcache \ - tokenizer \ - ctype \ - session \ - fileinfo \ - iconv \ - json \ - posix \ pdo_mysql \ - pdo_pgsql + pdo_pgsql \ + shmop \ + sockets \ + sysvmsg \ + sysvsem \ + sysvshm \ + zip RUN set -xe \ && pecl install imagick \ diff --git a/SECURITY.md b/SECURITY.md index 4b50baa..5ef9f11 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -8,6 +8,7 @@ effort to acknowledge your contributions. | Version | Supported | | ------- | ------------------ | | 1+ | :heavy_check_mark: | +| 2+ | :heavy_check_mark: | ## Reporting a Vulnerability diff --git a/custom_params.ini b/custom_params.ini new file mode 100644 index 0000000..55bfdc0 --- /dev/null +++ b/custom_params.ini @@ -0,0 +1,3 @@ +# OPcache +opcache.jit_buffer_size=100M +opcache.jit=1235