File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ RUN apk add \
21
21
libsodium-dev \
22
22
libxml2-dev \
23
23
libxslt-dev \
24
- linux-headers
24
+ linux-headers \
25
+ yaml-dev
25
26
26
27
# fixes "sockets" compilation issues
27
28
# sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
@@ -43,6 +44,13 @@ RUN docker-php-ext-install \
43
44
sysvshm \
44
45
xsl
45
46
47
+ # install yaml extensions from PECL
48
+ # https://pecl.php.net/package/yaml/2.2.3
49
+ RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev \
50
+ && pecl channel-update pecl.php.net \
51
+ && pecl install yaml-2.2.3 && docker-php-ext-enable yaml \
52
+ && apk del build-deps
53
+
46
54
RUN which php; php -v; php -m; php -i | grep ini
47
55
48
56
#
Original file line number Diff line number Diff line change 1
1
python-php
2
2
==========
3
3
4
- Python and PHP under the same roof (in ** around 100 MB Docker image** ).
4
+ Python and PHP under the same roof (in ** under 125 MB Docker image** ).
5
5
6
6
https://github.com/elecena/python-php/pkgs/container/python-php
7
7
8
8
```
9
- docker pull ghcr.io/elecena/python-php:3.11.2-8.2.3
9
+ docker pull ghcr.io/elecena/python-php:3.11.2-8.2.3:v2
10
10
```
11
11
12
12
```
@@ -22,7 +22,7 @@ $ docker run -it elecena/python-php sh info.sh
22
22
23
23
### Python
24
24
Python 3.11.2
25
- virtualenv 20.20 .0 from /usr/local/lib/python3.11/site-packages/virtualenv/__init__.py
25
+ virtualenv 20.21 .0 from /usr/local/lib/python3.11/site-packages/virtualenv/__init__.py
26
26
27
27
### PHP
28
28
PHP 8.2.3 (cli) (built: Feb 14 2023 20:48:45) (NTS)
74
74
xmlreader
75
75
xmlwriter
76
76
xsl
77
+ yaml
77
78
Zend OPcache
78
79
zlib
79
80
You can’t perform that action at this time.
0 commit comments