Skip to content

Commit 3cbe5b1

Browse files
authored
Merge pull request #1 from fontebasso/php8
Initial implementation to the php 8
2 parents 15f4ff4 + 05d9c33 commit 3cbe5b1

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

Dockerfile

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM php:7.4-fpm-alpine3.13
1+
FROM php:8.0-fpm-alpine3.13
22

33
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
4+
ADD ./custom_params.ini /usr/local/etc/php/conf.d/docker-php-x-01-custom-params.ini
45

56
RUN apk update
67

@@ -29,32 +30,19 @@ RUN apk add --update libzip-dev libmcrypt-dev libpng-dev libjpeg-turbo-dev libxm
2930
RUN apk add --update --virtual build-dependencies build-base gcc wget autoconf
3031

3132
RUN docker-php-ext-install \
32-
phar \
3333
bcmath \
34+
bz2 \
3435
calendar \
35-
mbstring \
3636
exif \
37-
ftp \
38-
zip \
39-
sysvsem \
40-
sysvshm \
41-
sysvmsg \
42-
shmop \
43-
sockets \
44-
bz2 \
45-
curl \
46-
simplexml \
47-
xml \
4837
opcache \
49-
tokenizer \
50-
ctype \
51-
session \
52-
fileinfo \
53-
iconv \
54-
json \
55-
posix \
5638
pdo_mysql \
57-
pdo_pgsql
39+
pdo_pgsql \
40+
shmop \
41+
sockets \
42+
sysvmsg \
43+
sysvsem \
44+
sysvshm \
45+
zip
5846

5947
RUN set -xe \
6048
&& pecl install imagick \

SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ effort to acknowledge your contributions.
88
| Version | Supported |
99
| ------- | ------------------ |
1010
| 1+ | :heavy_check_mark: |
11+
| 2+ | :heavy_check_mark: |
1112

1213
## Reporting a Vulnerability
1314

custom_params.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# OPcache
2+
opcache.jit_buffer_size=100M
3+
opcache.jit=1235

0 commit comments

Comments
 (0)