Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-3.10-image for 
openSUSE:Factory checked in at 2024-06-21 16:04:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-3.10-image (Old)
 and      /work/SRC/openSUSE:Factory/.python-3.10-image.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-3.10-image"

Fri Jun 21 16:04:46 2024 rev:11 rq:1182006 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-3.10-image/python-3.10-image.changes      
2024-06-19 16:39:05.898759209 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-3.10-image.new.18349/python-3.10-image.changes
   2024-06-21 16:05:08.270318578 +0200
@@ -1,0 +2,5 @@
+Thu Jun 20 09:53:37 UTC 2024 - Alexandre Vicenzi <alexandre.vice...@suse.com>
+
+- extend README.md
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ README.md ++++++
--- /var/tmp/diff_new_pack.vZzQyc/_old  2024-06-21 16:05:08.698334279 +0200
+++ /var/tmp/diff_new_pack.vZzQyc/_new  2024-06-21 16:05:08.706334573 +0200
@@ -1,7 +1,44 @@
-# The openSUSE Tumbleweed BCI Python 3.10 development container image
+# Python 3.10 development container image
+
 ![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)
 
-Python 3.10 development container based on the openSUSE Tumbleweed Base 
Container Image.
+## Description
+
+[Python](https://www.python.org/) is an interpreted, interactive, 
object-oriented, open-source programming language. It incorporates modules, 
exceptions, dynamic typing, high-level dynamic data types, and classes. It 
provides interfaces to many system calls, libraries, and various window 
systems, and it is extensible in C or C++. It is also usable as an extension 
language for applications that require programmable interfaces.
+
+## Usage
+
+To deploy an application, install dependencies, copy the sources, and 
configure the application's main script:
+
+```Dockerfile
+FROM registry.opensuse.org/opensuse/bci/python:3.10
+
+WORKDIR /app
+
+COPY requirements.txt ./
+RUN pip install --no-cache-dir -r requirements.txt
+
+COPY . .
+
+CMD [ "python3", "./main-script.py" ]
+```
+
+Build and run the container image:
+
+```ShellSession
+$ podman build -t my-python-app .
+$ podman run -it --rm my-python-app
+```
+
+To run a single script inside a container, use the following command:
+
+```ShellSession
+$ podman run --rm -v "$PWD":/app:Z -w /app 
registry.opensuse.org/opensuse/bci/python:3.10 python3 script.py
+```
+
+## Additional tools
+
+The Python container image includes [pip](https://pip.pypa.io/), 
[pipx](https://pipx.pypa.io/), [wheel](https://wheel.readthedocs.io/), Python 
Development Headers, and Git.
 
 ## Licensing
 

Reply via email to