Skip to content

Commit

Permalink
feat: zstd extension for php 8+
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Nov 28, 2023
1 parent 6ebb144 commit d2364c8
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 8.0-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ RUN set -eux \
vips-dev \
yaml-dev \
zlib-dev \
zstd-dev \
\
# Workaround for rabbitmq linking issue
&& ln -s /usr/lib /usr/local/lib64 \
Expand Down Expand Up @@ -319,6 +320,11 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) zip \
&& true \
\
# Install zstd
&& pecl install zstd \
&& docker-php-ext-enable zstd \
&& true \
\
# Clean up build packages
&& docker-php-source delete \
&& apk del .build-deps \
Expand Down
6 changes: 6 additions & 0 deletions 8.1-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ RUN set -eux \
vips-dev \
yaml-dev \
zlib-dev \
zstd-dev \
\
# Workaround for rabbitmq linking issue
&& ln -s /usr/lib /usr/local/lib64 \
Expand Down Expand Up @@ -305,6 +306,11 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) zip \
&& true \
\
# Install zstd
&& pecl install zstd \
&& docker-php-ext-enable zstd \
&& true \
\
# Clean up build packages
&& docker-php-source delete \
&& apk del .build-deps \
Expand Down
6 changes: 6 additions & 0 deletions 8.2-fpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ RUN set -eux \
vips-dev \
yaml-dev \
zlib-dev \
zstd-dev \
\
# Workaround for rabbitmq linking issue
&& ln -s /usr/lib /usr/local/lib64 \
Expand Down Expand Up @@ -299,6 +300,11 @@ RUN set -eux \
&& docker-php-ext-install -j$(nproc) zip \
&& true \
\
# Install zstd
&& pecl install zstd \
&& docker-php-ext-enable zstd \
&& true \
\
# Clean up build packages
&& docker-php-source delete \
&& apk del .build-deps \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
| xsl ||||
| yaml ||||
| zip ||||
| zstd ||||
|   |   |   |   |
| **Others** | | | |
| composer | v2.5 | v2.6 | v2.6 |
Expand Down

0 comments on commit d2364c8

Please sign in to comment.