From 16d3d4f74165a3099a7a5f1086448c3e1fff59e815d6bb8f4a5d9d4f322bc6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 22 May 2024 13:59:19 +0000 Subject: [PATCH] [info=fe77867d2c59dd7538017b6bd9ed987a] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/php8-image?expand=0&rev=74 --- README.md | 83 ++++++++++++++++++++++++++++++++++++++++++++-- php8-image.changes | 5 +++ 2 files changed, 86 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24254c2..b239fa3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,87 @@ -# The openSUSE Tumbleweed BCI PHP 8 Container Image +# The PHP 8 Container Image + ![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green) -PHP 8 container based on the openSUSE Tumbleweed Base Container Image. +PHP is a general-purpose scripting language used primarily for server-side web +development. It can be used directly, embedded in HTML files, or executed via a +server-side Apache2 module or CGI scripts. + +## How to use the image + +This image ships with the PHP interpreter as the entrypoint. The image is +intended to be used to execute PHP scripts or PHP commands directly. + +To launch an interactive shell in a container, use the following command: +```ShellSession +$ podman run --rm -it registry.opensuse.org/opensuse/bci/php:8 +Interactive mode enabled + +php > echo 5+8; +13 +``` + +You can also use the container instead of the PHP +interpreter to execute PHP scripts: +```ShellSession +$ cat /tmp/test.php + + +- Extend README + ------------------------------------------------------------------- Sun May 19 09:10:06 UTC 2024 - Dan Čermák