Skip to content

Commit 51ed939

Browse files
authored
Install pgsql
1 parent 16ab3da commit 51ed939

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ RUN apt-get update && apt-get install -y \
1414
git \
1515
curl \
1616
postgresql \
17-
postgresql-contrib
17+
postgresql-contrib \
18+
libpq-dev
1819

1920
# Clear cache
2021
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
2122

2223
# Install extensions
23-
RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl
24+
RUN docker-php-ext-install pdo_mysql pdo_pgsql mbstring zip exif pcntl
2425
RUN docker-php-ext-configure gd --with-gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/
2526
RUN docker-php-ext-install gd
2627

0 commit comments

Comments
 (0)