commit cb6c8f8392e3615360de51af40f84e75cda472762614fde37a8ef8cf3db99200 Author: Dan Čermák Date: Wed Apr 27 12:16:54 2022 +0000 First version of BCI based on Tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/python-3.10-image?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0fe98e6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: bci/python:3.10 +#!BuildTag: bci/python:latest +#!BuildTag: bci/python:3.10-%RELEASE% +#!BuildTag: bci/python:3 +FROM opensuse/tumbleweed:latest + +MAINTAINER SUSE LLC (https://www.suse.com/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=com.suse.bci.python +LABEL org.opencontainers.image.title="SLE BCI Python 3.10 Container Image" +LABEL org.opencontainers.image.description="Python 3.10 development environment based on the SLE Base Container Image." +LABEL org.opencontainers.image.version="3.10" +LABEL org.opencontainers.image.url="https://www.suse.com/products/server/" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="SUSE LLC" +LABEL org.opensuse.reference="registry.suse.com/bci/python:3.10-%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL com.suse.supportlevel="techpreview" +LABEL com.suse.eula="sle-bci" +LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle" +LABEL com.suse.image-type="sle-bci" +LABEL com.suse.release-stage="beta" +# endlabelprefix + + +RUN set -euo pipefail && zypper -n in --no-recommends python3 python3-pip curl git-core python3-wheel && zypper -n clean && rm -rf /var/log/* + +ENV PYTHON_VERSION="%%py310_ver%%" +ENV PIP_VERSION="%%pip_ver%%" + + diff --git a/_service b/_service new file mode 100644 index 0000000..3c27f09 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + + Dockerfile + %%py310_ver%% + python3-base + + + + Dockerfile + %%pip_ver%% + python3-pip + + + + \ No newline at end of file diff --git a/python-3.10-image.changes b/python-3.10-image.changes new file mode 100644 index 0000000..473a0f4