Skip to content

Commit

Permalink
🐛 Fix pdo_pgsql on other images
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui committed Sep 13, 2024
1 parent a22c576 commit 5d5b94c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ RUN apk add --update --no-cache \
freetype-dev \
libjpeg-turbo-dev \
libpng-dev \
# Dependancy for gmp \
gmp \
libgmpxx \
# Dependancy for intl \
icu-libs \
libintl \
Expand Down Expand Up @@ -240,11 +243,11 @@ RUN if [ "${DOCKER_PHP_ENABLE_POSTGRESQL}" != "off" ]; then \
libpq && \
# Build dependancies for PostgreSQL \
apk add --update --no-cache --virtual .docker-php-postgresql-dependancies \
postgresql-client \
postgresql-dev && \
libpq-dev && \
docker-php-ext-configure pdo_pgsql && \
docker-php-ext-configure pgsql && \
docker-php-ext-install pdo_pgsql \
docker-php-ext-install \
pdo_pgsql \
pgsql && \
apk del .docker-php-postgresql-dependancies && \
php -m; \
Expand Down
6 changes: 3 additions & 3 deletions 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ RUN if [ "${DOCKER_PHP_ENABLE_POSTGRESQL}" != "off" ]; then \
libpq && \
# Build dependancies for PostgreSQL \
apk add --update --no-cache --virtual .docker-php-postgresql-dependancies \
postgresql-client \
postgresql-dev && \
libpq-dev && \
docker-php-ext-configure pdo_pgsql && \
docker-php-ext-configure pgsql && \
docker-php-ext-install pdo_pgsql \
docker-php-ext-install \
pdo_pgsql \
pgsql && \
apk del .docker-php-postgresql-dependancies && \
php -m; \
Expand Down

0 comments on commit 5d5b94c

Please sign in to comment.