Skip to content

Commit 0da6ca3

Browse files
authored
Merge pull request #38 from appwrite/pla-2551
chore: updated versions
2 parents c17861c + 721ede4 commit 0da6ca3

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

Dockerfile

+17-15
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
ARG BASEIMAGE="php:8.3.13-cli-alpine3.20"
22

3-
FROM $BASEIMAGE as compile
3+
FROM $BASEIMAGE AS compile
44

55
ENV PHP_REDIS_VERSION="6.1.0" \
6-
PHP_MONGODB_VERSION="1.20.0" \
7-
PHP_SWOOLE_VERSION="v5.1.5" \
6+
PHP_MONGODB_VERSION="1.20.1" \
7+
PHP_SWOOLE_VERSION="v5.1.7" \
88
PHP_IMAGICK_VERSION="3.7.0" \
99
PHP_YAML_VERSION="2.2.4" \
10-
PHP_MAXMINDDB_VERSION="v1.11.1" \
10+
PHP_MAXMINDDB_VERSION="v1.12.0" \
1111
PHP_SCRYPT_VERSION="2.0.1" \
12-
PHP_ZSTD_VERSION="0.13.3" \
13-
PHP_BROTLI_VERSION="0.15.0" \
14-
PHP_SNAPPY_VERSION="c27f830dcfe6c41eb2619a374de10fd0597f4939" \
15-
PHP_LZ4_VERSION="2f006c3e4f1fb3a60d2656fc164f9ba26b71e995" \
16-
PHP_XDEBUG_VERSION="3.3.2" \
17-
PHP_OPENTELEMETRY_VERSION="1.1.0" \
18-
PHP_PROTOBUF_VERSION="4.28.3"
12+
PHP_ZSTD_VERSION="0.14.0" \
13+
PHP_BROTLI_VERSION="0.15.2" \
14+
PHP_SNAPPY_VERSION="0.2.2" \
15+
PHP_LZ4_VERSION="0.4.4" \
16+
PHP_XDEBUG_VERSION="3.4.1" \
17+
PHP_OPENTELEMETRY_VERSION="1.1.2" \
18+
PHP_PROTOBUF_VERSION="4.29.3"
19+
20+
RUN apk update && apk upgrade
1921

2022
RUN \
2123
apk add --no-cache --virtual .deps \
@@ -92,7 +94,7 @@ RUN \
9294
make && make install
9395

9496
# Mongodb Extension
95-
FROM compile as mongodb
97+
FROM compile AS mongodb
9698
RUN \
9799
git clone --depth 1 --branch $PHP_MONGODB_VERSION https://github.com/mongodb/mongo-php-driver.git && \
98100
cd mongo-php-driver && \
@@ -102,7 +104,7 @@ RUN \
102104
make && make install
103105

104106
# Zstd Compression
105-
FROM compile as zstd
107+
FROM compile AS zstd
106108
RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \
107109
&& cd php-ext-zstd \
108110
&& git checkout $PHP_ZSTD_VERSION \
@@ -111,7 +113,7 @@ RUN git clone --recursive -n https://github.com/kjdev/php-ext-zstd.git \
111113
&& make && make install
112114

113115
## Brotli Extension
114-
FROM compile as brotli
116+
FROM compile AS brotli
115117
RUN git clone https://github.com/kjdev/php-ext-brotli.git \
116118
&& cd php-ext-brotli \
117119
&& git reset --hard $PHP_BROTLI_VERSION \
@@ -164,7 +166,7 @@ RUN pecl install protobuf-${PHP_PROTOBUF_VERSION}
164166
FROM compile AS gd
165167
RUN docker-php-ext-install gd
166168

167-
FROM $BASEIMAGE as final
169+
FROM $BASEIMAGE AS final
168170

169171
LABEL maintainer="[email protected]"
170172

0 commit comments

Comments
 (0)