Skip to content

Commit

Permalink
Merge pull request #33 from elecena/php/8.2.3
Browse files Browse the repository at this point in the history
Use PHP 8.2 & Python 3.11
  • Loading branch information
macbre authored Mar 7, 2023
2 parents e15739a + d3a51fd commit 49e9618
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# elecena.pl (c) 2015-2022
# elecena.pl (c) 2015-2023

# https://hub.docker.com/_/php
ARG PHP_VERSION=8.1.12
ARG PHP_VERSION=8.2.3

# https://hub.docker.com/_/python/
ARG PYTHON_VERSION=3.10.8
ARG PYTHON_VERSION=3.11.2

# https://hub.docker.com/_/composer
ARG COMPOSER_VERSION=2.3.10
ARG COMPOSER_VERSION=2.5.4

FROM composer:$COMPOSER_VERSION AS php-composer
RUN /usr/bin/composer -v
Expand All @@ -20,7 +20,8 @@ RUN apk add \
bzip2-dev \
libsodium-dev \
libxml2-dev \
libxslt-dev
libxslt-dev \
linux-headers

# fixes "sockets" compilation issues
# sendrecvmsg.c:128:19: error: invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Python and PHP under the same roof (in **around 100 MB Docker image**).
https://github.com/elecena/python-php/pkgs/container/python-php

```
docker pull ghcr.io/elecena/python-php:3.10.4-8.1.4
docker pull ghcr.io/elecena/python-php:3.11.2-8.2.3
```

```
$ docker images | head
REPOSITORY TAG IMAGE ID CREATED SIZE
elecena/python-php latest 1b1c0d911178 1 second ago 114MB
elecena/python-php latest ff36428b8c54 2 seconds ago 123MB
```

## Installed software
Expand All @@ -21,15 +21,15 @@ elecena/python-php latest 1b1c0d911178 1 second ago 114MB
$ docker run -it elecena/python-php sh info.sh
### Python
Python 3.10.8
virtualenv 20.16.7 from /usr/local/lib/python3.10/site-packages/virtualenv/__init__.py
Python 3.11.2
virtualenv 20.20.0 from /usr/local/lib/python3.11/site-packages/virtualenv/__init__.py
### PHP
PHP 8.1.12 (cli) (built: Nov 12 2022 08:52:37) (NTS)
PHP 8.2.3 (cli) (built: Feb 14 2023 20:48:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c) Zend Technologies
with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies
Composer version 2.3.10 2022-07-13 15:48:23
Zend Engine v4.2.3, Copyright (c) Zend Technologies
with Zend OPcache v8.2.3, Copyright (c), by Zend Technologies
Composer version 2.5.4 2023-02-15 13:10:06
[PHP Modules]
bz2
calendar
Expand All @@ -55,6 +55,7 @@ PDO
pdo_sqlite
Phar
posix
random
readline
Reflection
session
Expand Down

0 comments on commit 49e9618

Please sign in to comment.