Skip to content
Prev Previous commit
Next Next commit
Update YAML PECL package version to 2.3.0
  • Loading branch information
macbre authored Dec 1, 2025
commit d0cb90ed7495577acd05ee3b38ff2cf47ab85c83
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ RUN docker-php-ext-install \
xsl

# install yaml extensions from PECL
# https://pecl.php.net/package/yaml/2.2.4
# https://pecl.php.net/package-changelog.php?package=yaml
# https://pecl.php.net/package/yaml/2.3.0
RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \
&& pecl channel-update pecl.php.net \
&& pecl install yaml-2.2.4 && docker-php-ext-enable yaml \
&& pecl install yaml-2.3.0 && docker-php-ext-enable yaml \
&& apk del build-deps

RUN which php; php -v; php -m; php -i | grep ini
Expand Down