SLE BCI Python 3.11 development

Python 3.11 development container based on the SLE Base Container Image.

Get Image
Digest:
sha256:cdc949c54b635bf4d1e6281d3a597f4224dcd62509e22d6be3062d2591c274d1
cdc949c54
Repository:
registry.suse.com/bci/python:latest

Python 3.11 development container image

Redistributable SLSA Provenance: Available

Description

Python 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:

FROM registry.suse.com/bci/python:3.11

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:

$ 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:

$ podman run --rm -v "$PWD":/app:Z -w /app registry.suse.com/bci/python:3.11 python3 script.py

Additional tools

The Python container image includes pip, pipx, Python Development Headers, and Git.

Licensing

SPDX-License-Identifier: MIT

This documentation and the build recipe are licensed as MIT. The container itself contains various software components under various open source licenses listed in the associated Software Bill of Materials (SBOM).

This image is based on SLE BCI, a stable and redistributable foundation for software innovation. SLE BCI is enterprise-ready, and it comes with an option for support.

See the SLE BCI EULA for further information.

  • Image Data

    Last Built: 25 Jun 11:50 UTC

    Size: 88.3 MB

    Support Level: L3

    Supported until: 31 Dec 2027


  • Health Index
    D
    0:C1:H0:M1:L0:U

    Last Scan:

    about 19 hours ago