modified: Dockerfile
new file: php.ini Added custom php.ini file
This commit is contained in:
parent
63b11bbf27
commit
5c8baceed2
@ -19,6 +19,7 @@ RUN mkdir /pmmp
|
|||||||
RUN chown $PM_USER:$PM_GROUP /pmmp
|
RUN chown $PM_USER:$PM_GROUP /pmmp
|
||||||
RUN wget -q -O - https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBuild/artifact/PHP-7.3-Linux-x86_64.tar.gz > /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
RUN wget -q -O - https://jenkins.pmmp.io/job/PHP-7.3-Aggregate/lastSuccessfulBuild/artifact/PHP-7.3-Linux-x86_64.tar.gz > /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
||||||
RUN cd /pmmp && tar zxvf PHP-7.3-Linux-x86_64.tar.gz
|
RUN cd /pmmp && tar zxvf PHP-7.3-Linux-x86_64.tar.gz
|
||||||
|
ADD php.ini /pmmp/bin/php7/bin/php.ini
|
||||||
RUN rm /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
RUN rm /pmmp/PHP-7.3-Linux-x86_64.tar.gz
|
||||||
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.11.6/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
|
RUN wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.11.6/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar
|
||||||
RUN chown -R $PM_USER:$PM_GROUP /pmmp
|
RUN chown -R $PM_USER:$PM_GROUP /pmmp
|
||||||
|
|||||||
21
php.ini
Normal file
21
php.ini
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
memory_limit=14096
|
||||||
|
date.timezone=UTC
|
||||||
|
short_open_tag=0
|
||||||
|
asp_tags=0
|
||||||
|
phar.readonly=0
|
||||||
|
phar.require_hash=1
|
||||||
|
igbinary.compact_strings=0
|
||||||
|
zend.assertions=-1
|
||||||
|
error_reporting=-1
|
||||||
|
display_errors=1
|
||||||
|
display_startup_errors=1
|
||||||
|
recursionguard.enabled=0 ;disabled due to minor performance impact, only enable this if you need it for debugging
|
||||||
|
;zend_extension=opcache.so
|
||||||
|
opcache.enable=1
|
||||||
|
opcache.enable_cli=1
|
||||||
|
opcache.save_comments=1
|
||||||
|
opcache.fast_shutdown=0
|
||||||
|
opcache.max_accelerated_files=4096
|
||||||
|
opcache.interned_strings_buffer=8
|
||||||
|
opcache.memory_consumption=128
|
||||||
|
opcache.optimization_level=0xffffffff
|
||||||
Loading…
Reference in New Issue
Block a user