We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49e9618 commit 26f2a1cCopy full SHA for 26f2a1c
1 file changed
Dockerfile
@@ -17,11 +17,13 @@ RUN /usr/bin/composer -v
17
#
18
FROM php:$PHP_VERSION-cli-alpine AS php
19
RUN apk add \
20
+ autoconf \
21
bzip2-dev \
22
libsodium-dev \
23
libxml2-dev \
24
libxslt-dev \
- linux-headers
25
+ linux-headers \
26
+ yaml-dev
27
28
# fixes "sockets" compilation issues
29
# sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
@@ -43,6 +45,12 @@ RUN docker-php-ext-install \
43
45
sysvshm \
44
46
xsl
47
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
+
54
RUN which php; php -v; php -m; php -i | grep ini
55
56
0 commit comments