Skip to content

Commit 571bf64

Browse files
committed
Install pdo_pgsql extension
1 parent 75b1705 commit 571bf64

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

php/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
55
ADD ./laravel.ini /usr/local/etc/php/conf.d
66
ADD ./laravel.pool.conf /usr/local/etc/php-fpm.d/
77

8+
RUN apt-get update && apt-get install libpq-dev -y
9+
810
# Install extensions using the helper script provided by the base image
911
RUN docker-php-ext-install \
10-
pdo_mysql
12+
pdo_mysql \
13+
pdo_pgsql
1114

1215
RUN usermod -u 1000 www-data
1316

0 commit comments

Comments
 (0)