File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ RUN /usr/bin/composer -v
1717#
1818FROM php:$PHP_VERSION-cli-alpine AS php
1919RUN apk add \
20+ autoconf \
2021 bzip2-dev \
2122 libsodium-dev \
2223 libxml2-dev \
2324 libxslt-dev \
24- linux-headers
25+ linux-headers \
26+ yaml-dev
2527
2628# fixes "sockets" compilation issues
2729# sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
@@ -43,6 +45,12 @@ RUN docker-php-ext-install \
4345 sysvshm \
4446 xsl
4547
48+ # install yaml extensions from PECL
49+ # https://pecl.php.net/package/yaml/2.2.3
50+ RUN apk add gcc make g++ zlib-dev \
51+ && pecl channel-update pecl.php.net \
52+ && pecl install yaml-2.2.3 && docker-php-ext-enable yaml
53+
4654RUN which php; php -v; php -m; php -i | grep ini
4755
4856#
You can’t perform that action at this time.
0 commit comments