Skip to content

Commit 0f333cf

Browse files
authored
Merge pull request #2431 from jrobertboos/fix-cves-3
LCORE-3326: removed explicit package calls
2 parents abb5c76 + d8eb9e9 commit 0f333cf

4 files changed

Lines changed: 31 additions & 2 deletions

File tree

‎.konflux/redhat.repo‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,17 @@ metadata_expire = 86400
3939
enabled_metadata = 0
4040
sslclientkey = $SSL_CLIENT_KEY
4141
sslclientcert = $SSL_CLIENT_CERT
42+
43+
[rhelai-3.4-for-rhel-9-$basearch-rpms]
44+
name = Red Hat Enterprise Linux AI (3.4) for RHEL 9 $basearch (RPMs)
45+
baseurl = https://cdn.redhat.com/content/dist/layered/rhel9/$basearch/rhelai/3.4/os
46+
enabled = 1
47+
gpgcheck = 1
48+
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
49+
sslverify = 1
50+
sslcacert = /etc/rhsm/ca/redhat-uep.pem
51+
sslverifystatus = 1
52+
metadata_expire = 86400
53+
enabled_metadata = 0
54+
sslclientkey = $SSL_CLIENT_KEY
55+
sslclientcert = $SSL_CLIENT_CERT

‎.konflux/rpms.in.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ packages:
1111
upgradePackages:
1212
[
1313
libgcrypt,
14+
thrift,
1415
]
1516
contentOrigin:
1617
repofiles: ["./redhat.repo"]

‎.konflux/rpms.lock.yaml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ lockfileVendor: redhat
44
arches:
55
- arch: aarch64
66
packages:
7+
- url: https://cdn.redhat.com/content/dist/layered/rhel9/aarch64/rhelai/3.4/os/Packages/t/thrift-0.15.0-6.el9ai.aarch64.rpm
8+
repoid: rhelai-3.4-for-rhel-9-aarch64-rpms
9+
size: 1446795
10+
checksum: sha256:3daa6deb9e8ac711cb61c63a87c250ac5fe744a368408dddc540a7ddfb19675e
11+
name: thrift
12+
evr: 1:0.15.0-6.el9ai
13+
sourcerpm: thrift-0.15.0-6.el9ai.src.rpm
714
- url: https://cdn.redhat.com/content/eus/rhel9/9.6/aarch64/appstream/os/Packages/c/cargo-1.84.1-1.el9.aarch64.rpm
815
repoid: rhel-9-for-aarch64-appstream-eus-rpms__9_DOT_6
916
size: 7744425
@@ -85,6 +92,13 @@ arches:
8592
module_metadata: []
8693
- arch: x86_64
8794
packages:
95+
- url: https://cdn.redhat.com/content/dist/layered/rhel9/x86_64/rhelai/3.4/os/Packages/t/thrift-0.15.0-6.el9ai.x86_64.rpm
96+
repoid: rhelai-3.4-for-rhel-9-x86_64-rpms
97+
size: 1657357
98+
checksum: sha256:f4731d852b67a8b5b90f3f703ef6c29b2107e0686b5fda20095a929dc9d044ac
99+
name: thrift
100+
evr: 1:0.15.0-6.el9ai
101+
sourcerpm: thrift-0.15.0-6.el9ai.src.rpm
88102
- url: https://cdn.redhat.com/content/eus/rhel9/9.6/x86_64/appstream/os/Packages/c/cargo-1.84.1-1.el9.x86_64.rpm
89103
repoid: rhel-9-for-x86_64-appstream-eus-rpms__9_DOT_6
90104
size: 8292467

‎deploy/lightspeed-stack/Containerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ USER root
2525
# (dependency of autoevals, no pre-built binary wheels for linux on aarch64)
2626
# cmake and cargo are required by fastuuid, maturin
2727
RUN ${BUILDER_DNF_COMMAND} install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gcc gcc-c++ cmake cargo && \
28-
${BUILDER_DNF_COMMAND} update -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gnutls libxslt openssl-fips-provider
28+
${BUILDER_DNF_COMMAND} update -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs
2929

3030
# Install uv package manager
3131
RUN pip3.12 install "uv>=0.8.15"
@@ -119,7 +119,7 @@ USER root
119119

120120
# Additional tools for derived images
121121
RUN ${RUNTIME_DNF_COMMAND} install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs jq patch && \
122-
${RUNTIME_DNF_COMMAND} update -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs gnutls libxslt openssl-fips-provider
122+
${RUNTIME_DNF_COMMAND} update -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs
123123

124124
# Create llama-stack directories for library mode
125125
RUN mkdir -p /opt/app-root/src/.llama/storage /opt/app-root/src/.llama/providers.d && \

0 commit comments

Comments
 (0)