Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 10 additions & 22 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ effort to acknowledge your contributions.
| Version | Supported |
| ------- | ------------------ |
| 1+ | :heavy_check_mark: |
| 2+ | :heavy_check_mark: |

## Reporting a Vulnerability

Expand Down
3 changes: 3 additions & 0 deletions custom_params.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# OPcache
opcache.jit_buffer_size=100M
opcache.jit=1235