Block a user
ubi8/python-311 (latest)
Published 2026-04-20 10:09:55 +07:00 by drholy
Installation
docker pull git.byte-mate.ru/drholy/ubi8/python-311:latestsha256:52bf8d97056e8d5b272d212b9b80305db9349198c5d74b871ce2afb3b67258c0
Image Layers
| LABEL maintainer=Red Soft |
| LABEL summary=Provides release of the minimal RED OS Universal Base Image |
| LABEL description=The Universal Base Image is a stripped down image that uses dnf as a package manager. This base image is freely redistributable, but Red Soft only supports Red Soft technologies through subscriptions for Red Soft products. This image is maintained by Red Soft and updated regularly. |
| ADD file:c259389f64ab78decdc5a871f171e10c9e86ea9922750cb923c546204c749913 in / |
| ENV container=oci |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| CMD ["/bin/bash"] |
| /bin/sh -c rm -rf /var/log/* |
| LABEL io.openshift.builder-version="097b64d" |
| ENV SUMMARY=Base image which allows using of source-to-image. DESCRIPTION=The s2i-core image provides any images layered on top of it with all the tools needed to use source-to-image functionality while keeping the image size as small as possible. STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| LABEL summary=Base image which allows using of source-to-image. description=The s2i-core image provides any images layered on top of it with all the tools needed to use source-to-image functionality while keeping the image size as small as possible. |
| /bin/sh -c INSTALL_PKGS="bsdtar findutils groff-base glibc-locale-source glibc-langpack-en gettext rsync scl-utils tar unzip xz dnf" && mkdir -p ${HOME}/.pki/nssdb && chown -R 1001:0 ${HOME}/.pki && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && dnf -y clean all --enablerepo='*' && env ls -d /usr/{lib,share}/locale/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && env ls -d /usr/share/i18n/*/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && rm -rf /usr/{bin/localedef,sbin/build-locale-archive} /usr/share/cracklib /var/cache/dnf /sbin/sln /etc/ld.so.cache /var/cache/ldconfig && mkdir -p --mode=0755 /var/cache/{ldconfig,dnf} |
| COPY dir:59a0eff7864dc223efe4a85bc51bed8bb403458ad5715b739828194dfbef5ab4 in / |
| WORKDIR /opt/app-root/src |
| ENTRYPOINT ["container-entrypoint"] |
| CMD ["base-usage"] |
| /bin/sh -c rpm-file-permissions && useradd -u 1001 -r -g 0 -d ${HOME} -s /sbin/nologin -c "Default Application User" default && chown -R 1001:0 ${APP_ROOT} |
| ENV SUMMARY=Base image with essential libraries and tools used as a base for builder images like perl, python, ruby, etc. DESCRIPTION=The s2i-base image, being built upon s2i-core, provides any images layered on top of it with all the tools needed to use source-to-image functionality. Additionally, s2i-base also contains various libraries needed for it to serve as a base for other builder images, like s2i-python or s2i-ruby. NODEJS_VER=16 |
| LABEL summary=Base image with essential libraries and tools used as a base for builder images like perl, python, ruby, etc. description=The s2i-base image, being built upon s2i-core, provides any images layered on top of it with all the tools needed to use source-to-image functionality. Additionally, s2i-base also contains various libraries needed for it to serve as a base for other builder images, like s2i-python or s2i-ruby. |
| /bin/sh -c INSTALL_PKGS="autoconf automake annobin-plugin-gcc bzip2 gcc-c++ gd-devel gdb git libcurl-devel libpq-devel libxml2-devel libxslt-devel lsof make mariadb-connector-c-devel openssl-devel patch procps-ng npm redos-rpm-config sqlite-devel unzip wget which zlib-devel libpq" && dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && dnf -y clean all --enablerepo='*' && env ls -d /usr/{lib,share}/locale/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && env ls -d /usr/share/i18n/*/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && rm -rf /usr/{bin/localedef,sbin/build-locale-archive} /usr/share/cracklib /var/cache/dnf /sbin/sln /etc/ld.so.cache /var/cache/ldconfig && mkdir -p --mode=0755 /var/cache/{ldconfig,dnf} |
| EXPOSE 8080 |
| ENV PYTHON_VERSION=3.11 PATH=/opt/app-root/src/.local/bin/:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PYTHONUNBUFFERED=1 PYTHONIOENCODING=UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 CNB_USER_ID=1001 CNB_GROUP_ID=0 PIP_NO_CACHE_DIR=off |
| ENV SUMMARY=Platform for building and running Python 3.11 applications DESCRIPTION=Python 3.11 available as container is a base platform for building and running various Python 3.11 applications and frameworks. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. |
| LABEL summary=Platform for building and running Python 3.11 applications description=Python 3.11 available as container is a base platform for building and running various Python 3.11 applications and frameworks. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. |
| /bin/sh -c INSTALL_PKGS="python3-${PYTHON_VERSION}.* python3-devel python3-setuptools python3-pip nss_wrapper httpd httpd-devel mod_ssl mod_auth_gssapi mod_ldap mod_session atlas-devel gcc-gfortran libffi-devel libtool-ltdl enchant krb5-devel atlas" && dnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && dnf -y clean all --enablerepo='*' && env ls -d /usr/{lib,share}/locale/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && env ls -d /usr/share/i18n/*/* | grep -E -v 'en$|ru$|en_US|ru_RU|UTF-8|C\..+8' | xargs rm -rf && rm -rf /usr/{bin/localedef,sbin/build-locale-archive} /usr/share/cracklib /var/cache/dnf /sbin/sln /etc/ld.so.cache /var/cache/ldconfig && mkdir -p --mode=0755 /var/cache/{ldconfig,dnf} |
| COPY dir:90cec8aa2d8c7d7722d473ff5ee77cb4529956f4784b54114351ae6cd15b1947 in /usr/libexec/s2i |
| COPY dir:1803eb36d9449ee063fad314ea3f0467cb1d70b003200cfae7df20662722d34d in / |
| /bin/sh -c python${PYTHON_VERSION} -m venv ${APP_ROOT} && rm -r /opt/wheels && chown -R 1001:0 ${APP_ROOT} && fix-permissions ${APP_ROOT} -P && rpm-file-permissions |
| ENV BASH_ENV=/opt/app-root/bin/activate ENV=/opt/app-root/bin/activate |
| USER 1001 |
| CMD ["/bin/sh" "-c" "$STI_SCRIPTS_PATH/usage"] |
Labels
| Key | Value |
|---|---|
| description | Python 3.11 available as container is a base platform for building and running various Python 3.11 applications and frameworks. Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. |
| io.openshift.builder-version | "097b64d" |
| maintainer | Red Soft |
| summary | Platform for building and running Python 3.11 applications |