Skip to content

Use PHP 8.2 & Python 3.11 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readline
Reflection
session
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy