Skip to content

Commit f7ff0f6

Browse files
committed
Remove 'version' label from Dockerfile.rhel10
Konflux build pipeline needs it. See https://issues.redhat.com/browse/RHELMISC-17288 Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
1 parent 3257797 commit f7ff0f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Dockerfile-minimal.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ LABEL summary="$SUMMARY" \
5050
io.openshift.tags="builder,python,python{{ spec.short_ver }},python-{{ spec.short_ver }},rh-python{{ spec.short_ver }}" \
5151
com.redhat.component="python-{{ spec.short_ver }}-container" \
5252
name="{{ spec.org }}/python-{{ spec.short_ver }}-minimal{% if spec.org == "sclorg" %}-{{ spec.prod }}{% endif %}" \
53+
{% if not (config.os.id == "rhel" and spec.prod == "rhel10") %}
5354
version="1" \
55+
{% elif spec.org in ["fedora", "sclorg"] %}
56+
version="1" \
57+
{% endif %}
5458
usage="s2i build https://github.com/sclorg/s2i-python-container.git --context-dir={{ spec.version }}-minimal/test/setup-test-app/ ubi{{ spec.el_version }}/python-{{ spec.short_ver }}-minimal python-sample-app" \
5559
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" \
5660
io.buildpacks.stack.id="com.redhat.stacks.ubi{{ spec.el_version }}-python-{{ spec.short_ver }}-minimal" \

0 commit comments

Comments
 (0)