From 571bf64eb2d42d2a7b9fd48b0f279369b53d22d4 Mon Sep 17 00:00:00 2001 From: "benmag@users.noreply.github.com" Date: Mon, 9 May 2016 13:08:08 +1000 Subject: [PATCH] Install pdo_pgsql extension --- php/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index d5b7da8..8332527 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -5,9 +5,12 @@ MAINTAINER Mahmoud Zalt ADD ./laravel.ini /usr/local/etc/php/conf.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 RUN docker-php-ext-install \ - pdo_mysql + pdo_mysql \ + pdo_pgsql RUN usermod -u 1000 www-data