forked from pool/python-3.11-image
Compare commits
19 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
7494f031f4 | ||
866f07b411 | |||
|
2a6fa60303 | ||
142351ed83 | |||
|
e621b433d5 | ||
|
2cd2ee4687 | ||
0146a61366 | |||
4c8b0bb67e | |||
|
3a402b0b62 | ||
2595f57bfc | |||
|
1db254ca6d | ||
e00bd033f4 | |||
|
af4ac78f89 | ||
|
ce7ebb5a0f | ||
0ddee1ada3 | |||
00264e7561 | |||
448f3b966e | |||
|
c08260221b | ||
212482eab7 |
21
Dockerfile
21
Dockerfile
@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -13,22 +13,23 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
||||||
|
|
||||||
|
#!UseOBSRepositories
|
||||||
|
|
||||||
#!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:%%py311_ver%%
|
|
||||||
#!BuildTag: opensuse/bci/python:%%py311_ver%%-%RELEASE%
|
#!BuildTag: opensuse/bci/python:%%py311_ver%%-%RELEASE%
|
||||||
|
#!BuildTag: opensuse/bci/python:%%py311_ver%%
|
||||||
|
#!BuildTag: opensuse/bci/python:3.11
|
||||||
|
#!BuildTag: opensuse/bci/python:3
|
||||||
#!BuildTag: opensuse/bci/python:latest
|
#!BuildTag: opensuse/bci/python:latest
|
||||||
|
|
||||||
FROM opensuse/tumbleweed:latest
|
FROM opensuse/tumbleweed:latest
|
||||||
|
|
||||||
RUN set -euo pipefail; zypper -n in --no-recommends python311-devel python311 python311-pip curl findutils gawk git-core procps util-linux python311-wheel python311-pipx; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
RUN set -euo pipefail; \
|
||||||
|
zypper -n install --no-recommends python311-devel python311 python311-pip curl findutils gawk git-core procps util-linux python311-wheel python311-pipx; \
|
||||||
|
zypper -n clean; \
|
||||||
|
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
||||||
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
# labelprefix=org.opensuse.bci.python
|
# labelprefix=org.opensuse.bci.python
|
||||||
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
|
|
||||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Python 3.11 development"
|
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Python 3.11 development"
|
||||||
LABEL org.opencontainers.image.description="Python 3.11 development container based on the openSUSE Tumbleweed Base Container Image."
|
LABEL org.opencontainers.image.description="Python 3.11 development container based on the openSUSE Tumbleweed Base Container Image."
|
||||||
LABEL org.opencontainers.image.version="%%py311_ver%%"
|
LABEL org.opencontainers.image.version="%%py311_ver%%"
|
||||||
@ -36,8 +37,8 @@ LABEL org.opencontainers.image.url="https://www.opensuse.org"
|
|||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
||||||
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
||||||
LABEL org.opencontainers.image.ref.name="3.11-%RELEASE%"
|
LABEL org.opencontainers.image.ref.name="%%py311_ver%%-%RELEASE%"
|
||||||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/python:3.11-%RELEASE%"
|
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/python:%%py311_ver%%-%RELEASE%"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
|
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
|
||||||
LABEL org.opensuse.release-stage="released"
|
LABEL org.opensuse.release-stage="released"
|
||||||
|
4
_service
4
_service
@ -1,12 +1,12 @@
|
|||||||
<services>
|
<services>
|
||||||
<service mode="buildtime" name="docker_label_helper"/>
|
<service mode="buildtime" name="docker_label_helper"/>
|
||||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service mode="buildtime" name="replace_using_package_version">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%py311_ver%%</param>
|
<param name="regex">%%py311_ver%%</param>
|
||||||
<param name="package">python311-base</param>
|
<param name="package">python311-base</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service mode="buildtime" name="replace_using_package_version">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%pip_ver%%</param>
|
<param name="regex">%%pip_ver%%</param>
|
||||||
<param name="package">python311-pip</param>
|
<param name="package">python311-pip</param>
|
||||||
|
@ -1,3 +1,53 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- update copyright year
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 3 13:26:37 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- Change attribute order in _service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 15:34:45 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- remove nonsensical org.opencontainers.image.authors - duplication of .vendor
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 15:23:20 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- drop tag_version-%RELEASE%
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 14 11:26:26 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- make the version-%release tag the first one listed; remove duplicates where they existed; update image.ref/reference to point to the version-%release(-) tag
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 11 15:12:52 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- make the tag with -%RELEASE% the first tag listed
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- rerender installation step in multiple lines, allow uninstalling optional packages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 25 17:12:11 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- improved log cleaning
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 24 20:00:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- remove release tags for additional_versions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 12 10:37:22 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- set useobsrepositories explicitly
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 6 11:30:01 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
Fri Sep 6 11:30:01 UTC 2024 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user