Skip to content
Snippets Groups Projects
Commit 3f6de315 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

docker php-fpm image includes php manual

parent 5b678936
Branches
Tags
No related merge requests found
Pipeline #18370 passed with stage
in 17 minutes and 50 seconds
......@@ -11,7 +11,7 @@ ARG USER_ID
RUN sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list
RUN apt-get update && \
apt-get install -y --no-install-recommends apt-utils apt-transport-https
RUN apt-get install -y --no-install-recommends curl wget iputils-ping dnsutils lsb-release vim sudo rsync tzdata locales openssl libapr1-dev libssl-dev
RUN apt-get install -y --no-install-recommends curl wget iputils-ping dnsutils lsb-release vim sudo rsync tzdata locales openssl libapr1-dev libssl-dev man-db
RUN ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime \
&& dpkg-reconfigure --frontend noninteractive tzdata
......@@ -113,6 +113,8 @@ EXPOSE 9000
COPY php.ini /usr/local/etc/php/php.ini
COPY php-fpm.conf /usr/local/etc/php-fpm.conf
RUN pear install doc.php.net/pman
RUN sed -i "s:USERNAME:${USERNAME}:" /usr/local/etc/php-fpm.conf
CMD ["php-fpm", "-F"]
[PHP]
short_open_tag = Off
implicit_flush = Off
disable_functions = "dl,backtick_operator,shell_exec,set_time_limit,max_execution_time"
disable_functions = "dl,backtick_operator,shell_exec"
zend.enable_gc = On
expose_php = Off
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT & ~E_WARNING
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment