Skip to content

Commit 6785635

Browse files
committed
bugfix: missing libpq.so
Signed-off-by: Haoyu Sun <hasun@redhat.com>
1 parent e9f0c09 commit 6785635

3 files changed

Lines changed: 26 additions & 12 deletions

File tree

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ COPY --from=builder /app-root/LICENSE /licenses/
7979
USER root
8080

8181
# Additional tools for derived images
82-
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs jq patch
82+
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs jq patch libpq
8383

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

rpms.in.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
packages: [gcc, jq, patch, cmake, cargo]
1+
packages: [gcc, jq, patch, cmake, cargo, libpq]
22
contentOrigin:
33
repofiles: ["./ubi.repo"]
44
arches: [x86_64, aarch64]

rpms.lock.yaml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ arches:
6767
name: glibc-devel
6868
evr: 2.34-231.el9_7.2
6969
sourcerpm: glibc-2.34-231.el9_7.2.src.rpm
70-
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/k/kernel-headers-5.14.0-611.20.1.el9_7.aarch64.rpm
70+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/k/kernel-headers-5.14.0-611.24.1.el9_7.aarch64.rpm
7171
repoid: ubi-9-for-aarch64-appstream-rpms
72-
size: 2956369
73-
checksum: sha256:2772ae5d60ba0a253ea8f080244a307e252a67dab1aa04ae96afe607236cc241
72+
size: 2968477
73+
checksum: sha256:a60380cbf908bc16b00e560146cda2f106b4eab1932ed2a3420921419897b0f4
7474
name: kernel-headers
75-
evr: 5.14.0-611.20.1.el9_7
76-
sourcerpm: kernel-5.14.0-611.20.1.el9_7.src.rpm
75+
evr: 5.14.0-611.24.1.el9_7
76+
sourcerpm: kernel-5.14.0-611.24.1.el9_7.src.rpm
7777
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libasan-11.5.0-11.el9.aarch64.rpm
7878
repoid: ubi-9-for-aarch64-appstream-rpms
7979
size: 408716
@@ -88,6 +88,13 @@ arches:
8888
name: libmpc
8989
evr: 1.2.1-4.el9
9090
sourcerpm: libmpc-1.2.1-4.el9.src.rpm
91+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libpq-13.23-1.el9_7.aarch64.rpm
92+
repoid: ubi-9-for-aarch64-appstream-rpms
93+
size: 210763
94+
checksum: sha256:db5dd6b6f6885ff5c349486ae9320de46aecb61ce9648fc88806972317d72acf
95+
name: libpq
96+
evr: 13.23-1.el9_7
97+
sourcerpm: libpq-13.23-1.el9_7.src.rpm
9198
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libubsan-11.5.0-11.el9.aarch64.rpm
9299
repoid: ubi-9-for-aarch64-appstream-rpms
93100
size: 178723
@@ -379,20 +386,27 @@ arches:
379386
name: glibc-headers
380387
evr: 2.34-231.el9_7.2
381388
sourcerpm: glibc-2.34-231.el9_7.2.src.rpm
382-
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/k/kernel-headers-5.14.0-611.20.1.el9_7.x86_64.rpm
389+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/k/kernel-headers-5.14.0-611.24.1.el9_7.x86_64.rpm
383390
repoid: ubi-9-for-x86_64-appstream-rpms
384-
size: 2995425
385-
checksum: sha256:ea2365970de61d610802f7fc88d650e9ea7cc184409963fe4c8f8e684a342971
391+
size: 3007525
392+
checksum: sha256:45e0c38ff72eae65683887a45ffcf11e44444c9f4732c808b13e4e0c2ccd9006
386393
name: kernel-headers
387-
evr: 5.14.0-611.20.1.el9_7
388-
sourcerpm: kernel-5.14.0-611.20.1.el9_7.src.rpm
394+
evr: 5.14.0-611.24.1.el9_7
395+
sourcerpm: kernel-5.14.0-611.24.1.el9_7.src.rpm
389396
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libmpc-1.2.1-4.el9.x86_64.rpm
390397
repoid: ubi-9-for-x86_64-appstream-rpms
391398
size: 66075
392399
checksum: sha256:b97b4e98c3c6f41dcfc2ceb4ffa1aba7a338b7cfd9e6c4f63e3160dd3cc033d3
393400
name: libmpc
394401
evr: 1.2.1-4.el9
395402
sourcerpm: libmpc-1.2.1-4.el9.src.rpm
403+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libpq-13.23-1.el9_7.x86_64.rpm
404+
repoid: ubi-9-for-x86_64-appstream-rpms
405+
size: 213691
406+
checksum: sha256:36674e762f7e3d5f8e3c0c4b607c8b03eaaa5a830729dd8c8a9c8f8be93f6d60
407+
name: libpq
408+
evr: 13.23-1.el9_7
409+
sourcerpm: libpq-13.23-1.el9_7.src.rpm
396410
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libuv-1.42.0-2.el9_4.x86_64.rpm
397411
repoid: ubi-9-for-x86_64-appstream-rpms
398412
size: 154427

0 commit comments

Comments
 (0)