Install pdo_pgsql extension

This commit is contained in:
benmag@users.noreply.github.com 2016-05-09 13:08:08 +10:00
parent 75b1705820
commit 571bf64eb2

View File

@ -5,9 +5,12 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
ADD ./laravel.ini /usr/local/etc/php/conf.d ADD ./laravel.ini /usr/local/etc/php/conf.d
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/ ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
RUN apt-get update && apt-get install libpq-dev -y
# Install extensions using the helper script provided by the base image # Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \ RUN docker-php-ext-install \
pdo_mysql pdo_mysql \
pdo_pgsql
RUN usermod -u 1000 www-data RUN usermod -u 1000 www-data