Skip to content

Commit d23c553

Browse files
committed
Fix installing PG client
1 parent 16f8802 commit d23c553

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

php-fpm/Dockerfile-72

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
6767

6868
ARG INSTALL_PG_CLIENT=false
6969
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
70+
# Create folders if not exists (https://github.com/tianon/docker-brew-debian/issues/65)
71+
mkdir -p /usr/share/man/man1 && \
72+
mkdir -p /usr/share/man/man7 && \
7073
# Install the pgsql client
7174
apt-get update -yqq && \
7275
apt-get install -y postgresql-client \
@@ -174,7 +177,7 @@ ARG INSTALL_GMP=false
174177
RUN if [ ${INSTALL_GMP} = true ]; then \
175178
# Install the GMP extension
176179
apt-get update -yqq && \
177-
apt-get install -y libgmp-dev && \
180+
apt-get install -y libgmp-dev && \
178181
docker-php-ext-install gmp \
179182
;fi
180183

@@ -355,7 +358,7 @@ ARG INSTALL_IMAGEMAGICK=false
355358
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
356359
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
357360
apt-get update -y && \
358-
apt-get install -y libmagickwand-dev imagemagick && \
361+
apt-get install -y libmagickwand-dev imagemagick && \
359362
pecl install imagick && \
360363
docker-php-ext-enable imagick \
361364
;fi

0 commit comments

Comments
 (0)