ajout Dockerfile pour php 5.6

This commit is contained in:
Gregory Colpart 2018-10-31 15:50:34 +01:00
parent 66599dacf3
commit 858e83746b
4 changed files with 53 additions and 0 deletions

1
php/Dockerfile Symbolic link
View File

@ -0,0 +1 @@
Dockerfile.jessie

27
php/Dockerfile.jessie Normal file
View File

@ -0,0 +1,27 @@
FROM debian:jessie
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php5 \
php5-fpm \
php5-cli \
php5-curl \
php5-mysql \
php5-pgsql \
php5-mcrypt \
php5-ldap \
php5-imap \
php5-gd \
php5-ssh2 \
php-gettext \
libphp-phpmailer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY z-evolinux-defaults.php56.ini /etc/php5/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php56.conf /etc/php5/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php5-fpm"]

View File

@ -0,0 +1,11 @@
[www]
listen = 9000
user = www-data
group = www-data
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
access.log = /proc/self/fd/2
clear_env = no
catch_workers_output = yes

View File

@ -0,0 +1,14 @@
[PHP]
daemonize = no
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2