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