POSTGIS Postgres Extension (#2110)

* created PHP_FPM_INSTALL_POSTGIS variable
* install postgis if needs
* install_postgis variable
This commit is contained in:
Silvio Ney
2019-05-08 11:17:08 +01:00
committed by Shao Yu-Lung (Allen)
parent d8b3cb5a52
commit 0980523049
3 changed files with 7 additions and 1 deletions

View File

@ -128,13 +128,17 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
###########################################################################
ARG INSTALL_PG_CLIENT=false
ARG INSTALL_POSTGIS=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 install -y postgresql-client \
apt-get install -y postgresql-client && \
if [ ${INSTALL_POSTGIS} = true ]; then \
apt-get install -y postgis; \
fi \
;fi
###########################################################################