Skip to content

Commit b4fd973

Browse files
Merge pull request #13 from appwrite/feat-add-postgres-driver
Feat add postgres driver
2 parents eee16d7 + d06fa1a commit b4fd973

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV PHP_REDIS_VERSION=5.3.7 \
66
PHP_IMAGICK_VERSION=3.7.0 \
77
PHP_YAML_VERSION=2.2.2 \
88
PHP_MAXMINDDB_VERSION=v1.11.0 \
9-
PHP_SCRYPT_COMMIT_SHA="9a8e615cb210d8564213be90a229c95c07c3f20a" \
9+
PHP_SCRYPT_COMMIT_SHA="845b889bdbe817afe1633237f8fc68667c7a700b" \
1010
PHP_ZSTD_VERSION="4504e4186e79b197cfcb75d4d09aa47ef7d92fe9" \
1111
PHP_BROTLI_VERSION="7ae4fcd8b81a65d7521c298cae49af386d1ea4e3" \
1212
PHP_SNAPPY_VERSION="bfefe4906e0abb1f6cc19005b35f9af5240d9025" \
@@ -154,6 +154,10 @@ ENV DOCKER_COMPOSE_VERSION=v2.5.0
154154

155155
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
156156

157+
RUN set -ex \
158+
&& apk --no-cache add \
159+
postgresql-dev
160+
157161
RUN \
158162
apk update \
159163
&& apk add --no-cache --virtual .deps \
@@ -175,8 +179,7 @@ RUN \
175179
certbot \
176180
docker-cli \
177181
libgomp \
178-
git \
179-
&& docker-php-ext-install sockets opcache pdo_mysql \
182+
&& docker-php-ext-install sockets opcache pdo_mysql pdo_pgsql \
180183
&& apk del .deps \
181184
&& rm -rf /var/cache/apk/*
182185

0 commit comments

Comments
 (0)