Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 16/Dockerfile.rhel10
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ LABEL summary="$SUMMARY" \
io.openshift.s2i.assemble-user="26" \
name="rhel10/postgresql-16" \
com.redhat.component="postgresql-16-container" \
version="1" \
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel" \
usage="podman run -d --name postgresql_database -e POSTGRESQL_USER=user -e POSTGRESQL_PASSWORD=pass -e POSTGRESQL_DATABASE=db -p 5432:5432 rhel10/postgresql-16" \
maintainer="SoftwareCollections.org <[email protected]>"
Expand Down
6 changes: 2 additions & 4 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@ LABEL summary="$SUMMARY" \
io.openshift.s2i.assemble-user="26" \
name="{{ spec.img_name }}" \
com.redhat.component="{{ spec.redhat_component }}" \
{% if spec.version not in ["9.4", "9.5", "9.6"] %}
{% if config.os.id == "rhel" and spec.prod != "rhel10" %}
version="1" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity, why are you using such a complicated construct if you set version=1 in both cases?
otherwise LGTM

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is affected only for RHEL10. Not rhel8, rhel9.

{% elif spec.version == "9.6" and config.os.id == "rhel" %}
{% elif spec.prod in ["c9s", "c10s"] %}
version="1" \
{% else %}
version="{{ spec.version }}" \
{% endif %}
{% if config.os.id == 'rhel' %}
com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#rhel" \
Expand Down