1
0

[info=9b8def946bb8fc1d8bd6b5dc6786a7ff]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.11-image?expand=0&rev=1
This commit is contained in:
Dan Čermák 2023-03-22 07:46:20 +00:00 committed by Git OBS Bridge
commit 950d01590a
5 changed files with 74 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

32
Dockerfile Normal file
View File

@ -0,0 +1,32 @@
# SPDX-License-Identifier: MIT
#!BuildTag: opensuse/bci/python:3.11
#!BuildTag: opensuse/bci/python:3.11-%RELEASE%
#!BuildTag: opensuse/bci/python:3
#!BuildTag: opensuse/bci/python:3-%RELEASE%
#!BuildTag: opensuse/bci/python:latest
FROM opensuse/tumbleweed:latest
MAINTAINER openSUSE (https://www.opensuse.org/)
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.bci.python
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Python 3.11 Container Image"
LABEL org.opencontainers.image.description="Python 3.11 development environment based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="3.11"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/python:3.11-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.release-stage="released"
# endlabelprefix
RUN set -euo pipefail; zypper -n in --no-recommends python311-devel python311 python311-pip curl git-core python311-wheel; zypper -n clean; rm -rf /var/log/*
ENV PYTHON_VERSION="%%py311_ver%%"
ENV PIP_VERSION="%%pip_ver%%"
RUN set -euo pipefail; ln -s /usr/bin/python3.11 /usr/local/bin/python3; \
ln -s /usr/bin/pydoc3.11 /usr/local/bin/pydoc

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%py311_ver%%</param>
<param name="package">python311-base</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%pip_ver%%</param>
<param name="package">python311-pip</param>
</service>
</services>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Mar 21 07:57:12 UTC 2023 - SUSE Update Bot <bci-internal@suse.de>
- First version of the Python 3.11 BCI