Add support for pgclient to workspace & php-fpm

This commit is contained in:
Geraint Dong 2017-10-18 10:04:23 +07:00
parent ca9c07eb76
commit ee03bb607f
7 changed files with 65 additions and 0 deletions

View File

@ -78,6 +78,7 @@ services:
- INSTALL_AEROSPIKE=${PHP_FPM_INSTALL_AEROSPIKE}
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
- PHP_FPM_PG_CLIENT=${PHP_FPM_PG_CLIENT}
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
- INSTALL_GHOSTSCRIPT=${PHP_FPM_INSTALL_GHOSTSCRIPT}

View File

@ -61,6 +61,17 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
docker-php-ext-install pgsql \
;fi
#####################################
# pgsql client
#####################################
ARG PHP_FPM_PG_CLIENT=true
RUN if [ ${PHP_FPM_PG_CLIENT} = true ]; then \
# Install the pgsql clint
apt-get update -yqq && \
apt-get install -y postgresql-client \
;fi
#####################################
# xDebug:
#####################################

View File

@ -61,6 +61,17 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
docker-php-ext-install pgsql \
;fi
#####################################
# pgsql client
#####################################
ARG PHP_FPM_PG_CLIENT=false
RUN if [ ${PHP_FPM_PG_CLIENT} = true ]; then \
# Install the pgsql client
apt-get update -yqq && \
apt-get install -y postgresql-client \
;fi
#####################################
# xDebug:
#####################################

View File

@ -61,6 +61,17 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
docker-php-ext-install pgsql \
;fi
#####################################
# pgsql client
#####################################
ARG PHP_FPM_PG_CLIENT=false
RUN if [ ${PHP_FPM_PG_CLIENT} = true ]; then \
# Install the pgsql client
apt-get update -yqq && \
apt-get install -y postgresql-client \
;fi
#####################################
# xDebug:
#####################################

View File

@ -524,6 +524,17 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
&& rm terraform_0.10.6_linux_amd64.zip \
;fi
#####################################
# pgsql client
#####################################
ARG WORKSPACE_PG_CLIENT=false
RUN if [ ${WORKSPACE_PG_CLIENT} = true ]; then \
# Install the pgsql clint
apt-get update -yqq && \
apt-get -y install postgresql-client \
;fi
#
#--------------------------------------------------------------------------
# Final Touch

View File

@ -605,6 +605,17 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
&& rm terraform_0.10.6_linux_amd64.zip \
;fi
#####################################
# pgsql client
#####################################
ARG WORKSPACE_PG_CLIENT=false
RUN if [ ${WORKSPACE_PG_CLIENT} = true ]; then \
# Install the pgsql client
apt-get update -yqq && \
apt-get -y install postgresql-client \
;fi
#
#--------------------------------------------------------------------------
# Final Touch

View File

@ -610,6 +610,15 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
&& mv terraform /usr/local/bin \
&& rm terraform_0.10.6_linux_amd64.zip \
;fi
#####################################
# pgsql client
#####################################
ARG WORKSPACE_PG_CLIENT=false
RUN if [ ${WORKSPACE_PG_CLIENT} = true ]; then \
# Install the pgsql clint
apt-get update -yqq && \
apt-get -y install postgresql-client \
;fi
#
#--------------------------------------------------------------------------