From 0747137679e7d46c6113449bdfca0b141fb8cbd1 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 18 Dec 2019 14:54:48 +0100 Subject: [PATCH] Added php ini config for docker image --- Dockerfile | 3 ++- docker/config/php.ini | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docker/config/php.ini diff --git a/Dockerfile b/Dockerfile index eae81a5a..f24dd289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM php:7.3.11-alpine3.10 LABEL maintainer="Alejandro Celaya " -ARG SHLINK_VERSION=1.20.0 +ARG SHLINK_VERSION=1.20.2 ENV SHLINK_VERSION ${SHLINK_VERSION} ENV SWOOLE_VERSION 4.4.12 ENV COMPOSER_VERSION 1.9.1 @@ -52,5 +52,6 @@ VOLUME /etc/shlink/config/params # Copy config specific for the image COPY docker/docker-entrypoint.sh docker-entrypoint.sh COPY docker/config/shlink_in_docker.local.php config/autoload/shlink_in_docker.local.php +COPY docker/config/php.ini ${PHP_INI_DIR}/conf.d/ ENTRYPOINT ["/bin/sh", "./docker-entrypoint.sh"] diff --git a/docker/config/php.ini b/docker/config/php.ini new file mode 100644 index 00000000..f6c718d0 --- /dev/null +++ b/docker/config/php.ini @@ -0,0 +1,3 @@ +log_errors_max_len=0 +zend.assertions=1 +assert.exception=1