Skip to content

Commit

Permalink
fix(docker): add postgresql driver
Browse files Browse the repository at this point in the history
  • Loading branch information
simonostendorf authored Aug 19, 2023
1 parent 43df25f commit 8d8dc99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ LABEL maintainer="FSR5 FH-Aachen"
WORKDIR /var/www/html

# install php extensions
RUN docker-php-ext-install bcmath sockets pdo_mysql
RUN apk add libpq-dev
RUN docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql
RUN docker-php-ext-install bcmath sockets pdo_mysql pdo pdo_pgsql pgsql
RUN apk add --no-cache pcre-dev $PHPIZE_DEPS && pecl install redis && docker-php-ext-enable redis.so

# install composer
Expand Down

0 comments on commit 8d8dc99

Please sign in to comment.