From d23c553313dce2e7ffebd4de5c352358d3276cee Mon Sep 17 00:00:00 2001 From: desaroger Date: Fri, 23 Feb 2018 21:27:04 +0100 Subject: [PATCH] Fix installing PG client --- php-fpm/Dockerfile-72 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-fpm/Dockerfile-72 b/php-fpm/Dockerfile-72 index d8e51ba3..9951e1f2 100644 --- a/php-fpm/Dockerfile-72 +++ b/php-fpm/Dockerfile-72 @@ -67,6 +67,9 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \ ARG INSTALL_PG_CLIENT=false RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \ + # Create folders if not exists (https://github.com/tianon/docker-brew-debian/issues/65) + mkdir -p /usr/share/man/man1 && \ + mkdir -p /usr/share/man/man7 && \ # Install the pgsql client apt-get update -yqq && \ apt-get install -y postgresql-client \ @@ -174,7 +177,7 @@ ARG INSTALL_GMP=false RUN if [ ${INSTALL_GMP} = true ]; then \ # Install the GMP extension apt-get update -yqq && \ - apt-get install -y libgmp-dev && \ + apt-get install -y libgmp-dev && \ docker-php-ext-install gmp \ ;fi @@ -355,7 +358,7 @@ ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ apt-get update -y && \ - apt-get install -y libmagickwand-dev imagemagick && \ + apt-get install -y libmagickwand-dev imagemagick && \ pecl install imagick && \ docker-php-ext-enable imagick \ ;fi