Skip to content

Commit 10b8298

Browse files
authored
Merge pull request #1034 from raptorsun/missing_lib
LCORE-1217: bugfix: missing libtiff openjpeg2 lcms2 libjpeg-turbo libwebp
2 parents bc59b98 + 46da4c5 commit 10b8298

3 files changed

Lines changed: 99 additions & 2 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 libpq
82+
RUN microdnf install -y --nodocs --setopt=keepcache=0 --setopt=tsflags=nodocs jq patch libpq libtiff openjpeg2 lcms2 libjpeg-turbo libwebp
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: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
packages: [gcc, jq, patch, cmake, cargo, libpq]
1+
packages:
2+
[
3+
gcc,
4+
jq,
5+
patch,
6+
cmake,
7+
cargo,
8+
libpq,
9+
libtiff,
10+
openjpeg2,
11+
lcms2,
12+
libjpeg-turbo,
13+
libwebp,
14+
]
215
contentOrigin:
316
repofiles: ["./ubi.repo"]
417
arches: [x86_64, aarch64]

rpms.lock.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,41 @@ 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/j/jbigkit-libs-2.1-23.el9.aarch64.rpm
71+
repoid: ubi-9-for-aarch64-appstream-rpms
72+
size: 57006
73+
checksum: sha256:f9fd62dfb74900a238cba5346d3932f32a802b6d6a161c47935938f392a7adf2
74+
name: jbigkit-libs
75+
evr: 2.1-23.el9
76+
sourcerpm: jbigkit-2.1-23.el9.src.rpm
7077
- 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
7178
repoid: ubi-9-for-aarch64-appstream-rpms
7279
size: 2968477
7380
checksum: sha256:a60380cbf908bc16b00e560146cda2f106b4eab1932ed2a3420921419897b0f4
7481
name: kernel-headers
7582
evr: 5.14.0-611.24.1.el9_7
7683
sourcerpm: kernel-5.14.0-611.24.1.el9_7.src.rpm
84+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/lcms2-2.12-3.el9.aarch64.rpm
85+
repoid: ubi-9-for-aarch64-appstream-rpms
86+
size: 171119
87+
checksum: sha256:9d35f533ef3fcac403f775e658921df31e989fc8748ff1c9ebf9a3a6c027222b
88+
name: lcms2
89+
evr: 2.12-3.el9
90+
sourcerpm: lcms2-2.12-3.el9.src.rpm
7791
- 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
7892
repoid: ubi-9-for-aarch64-appstream-rpms
7993
size: 408716
8094
checksum: sha256:247090a8241441529d2c4dc5932ddc1c1075418ba9618d4b8b5e65d1e2aef7b7
8195
name: libasan
8296
evr: 11.5.0-11.el9
8397
sourcerpm: gcc-11.5.0-11.el9.src.rpm
98+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libjpeg-turbo-2.0.90-7.el9.aarch64.rpm
99+
repoid: ubi-9-for-aarch64-appstream-rpms
100+
size: 175739
101+
checksum: sha256:b549971d7418fffff89092888c8d213dd63401f4b9cd2ecd1a9892c7cee9ab24
102+
name: libjpeg-turbo
103+
evr: 2.0.90-7.el9
104+
sourcerpm: libjpeg-turbo-2.0.90-7.el9.src.rpm
84105
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libmpc-1.2.1-4.el9.aarch64.rpm
85106
repoid: ubi-9-for-aarch64-appstream-rpms
86107
size: 67120
@@ -95,6 +116,13 @@ arches:
95116
name: libpq
96117
evr: 13.23-1.el9_7
97118
sourcerpm: libpq-13.23-1.el9_7.src.rpm
119+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libtiff-4.4.0-15.el9_7.2.aarch64.rpm
120+
repoid: ubi-9-for-aarch64-appstream-rpms
121+
size: 195402
122+
checksum: sha256:1da257e0663d88b30d4960e774564e5399464e933060f1bc50c0b7c39df7fc53
123+
name: libtiff
124+
evr: 4.4.0-15.el9_7.2
125+
sourcerpm: libtiff-4.4.0-15.el9_7.2.src.rpm
98126
- 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
99127
repoid: ubi-9-for-aarch64-appstream-rpms
100128
size: 178723
@@ -109,6 +137,13 @@ arches:
109137
name: libuv
110138
evr: 1:1.42.0-2.el9_4
111139
sourcerpm: libuv-1.42.0-2.el9_4.src.rpm
140+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libwebp-1.2.0-8.el9_3.aarch64.rpm
141+
repoid: ubi-9-for-aarch64-appstream-rpms
142+
size: 272276
143+
checksum: sha256:5692fd846f9b41b3b6d6194f80dc52248c2ae1e7b0560b29bd0ed2f5bcb4506a
144+
name: libwebp
145+
evr: 1.2.0-8.el9_3
146+
sourcerpm: libwebp-1.2.0-8.el9_3.src.rpm
112147
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/l/libxcrypt-devel-4.4.18-3.el9.aarch64.rpm
113148
repoid: ubi-9-for-aarch64-appstream-rpms
114149
size: 33051
@@ -137,6 +172,13 @@ arches:
137172
name: oniguruma
138173
evr: 6.9.6-1.el9.5
139174
sourcerpm: oniguruma-6.9.6-1.el9.5.src.rpm
175+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/o/openjpeg2-2.4.0-8.el9.aarch64.rpm
176+
repoid: ubi-9-for-aarch64-appstream-rpms
177+
size: 166456
178+
checksum: sha256:52b5696209e97f16155a878b545203edb2d3e59b0de30ed3abcb6b3af8c27ea3
179+
name: openjpeg2
180+
evr: 2.4.0-8.el9
181+
sourcerpm: openjpeg2-2.4.0-8.el9.src.rpm
140182
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/aarch64/appstream/os/Packages/p/patch-2.7.6-16.el9.aarch64.rpm
141183
repoid: ubi-9-for-aarch64-appstream-rpms
142184
size: 129037
@@ -386,13 +428,34 @@ arches:
386428
name: glibc-headers
387429
evr: 2.34-231.el9_7.2
388430
sourcerpm: glibc-2.34-231.el9_7.2.src.rpm
431+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/j/jbigkit-libs-2.1-23.el9.x86_64.rpm
432+
repoid: ubi-9-for-x86_64-appstream-rpms
433+
size: 57187
434+
checksum: sha256:7da8bd49c92d873386b40567a7fa6b8604425bef2b5b1c5b8197bb999422dfb7
435+
name: jbigkit-libs
436+
evr: 2.1-23.el9
437+
sourcerpm: jbigkit-2.1-23.el9.src.rpm
389438
- 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
390439
repoid: ubi-9-for-x86_64-appstream-rpms
391440
size: 3007525
392441
checksum: sha256:45e0c38ff72eae65683887a45ffcf11e44444c9f4732c808b13e4e0c2ccd9006
393442
name: kernel-headers
394443
evr: 5.14.0-611.24.1.el9_7
395444
sourcerpm: kernel-5.14.0-611.24.1.el9_7.src.rpm
445+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/lcms2-2.12-3.el9.x86_64.rpm
446+
repoid: ubi-9-for-x86_64-appstream-rpms
447+
size: 173479
448+
checksum: sha256:02da413dcff37e7c01c01b230039a51a18a24f69e8c4a72ae79fe5edd3330c80
449+
name: lcms2
450+
evr: 2.12-3.el9
451+
sourcerpm: lcms2-2.12-3.el9.src.rpm
452+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libjpeg-turbo-2.0.90-7.el9.x86_64.rpm
453+
repoid: ubi-9-for-x86_64-appstream-rpms
454+
size: 181774
455+
checksum: sha256:281d740f3732d785382e56fdd61a62c2608bcce740c3dc34b57ec55136cf7201
456+
name: libjpeg-turbo
457+
evr: 2.0.90-7.el9
458+
sourcerpm: libjpeg-turbo-2.0.90-7.el9.src.rpm
396459
- 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
397460
repoid: ubi-9-for-x86_64-appstream-rpms
398461
size: 66075
@@ -407,13 +470,27 @@ arches:
407470
name: libpq
408471
evr: 13.23-1.el9_7
409472
sourcerpm: libpq-13.23-1.el9_7.src.rpm
473+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libtiff-4.4.0-15.el9_7.2.x86_64.rpm
474+
repoid: ubi-9-for-x86_64-appstream-rpms
475+
size: 200896
476+
checksum: sha256:dfa983bbb35c44a665e93872f8860a30b5404ca97663ee788c9762079ad7155f
477+
name: libtiff
478+
evr: 4.4.0-15.el9_7.2
479+
sourcerpm: libtiff-4.4.0-15.el9_7.2.src.rpm
410480
- 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
411481
repoid: ubi-9-for-x86_64-appstream-rpms
412482
size: 154427
413483
checksum: sha256:e1fab39251239ccaad2fb4dbe6c55ec1ae60f76d4ae81582b06e6a58e30879b2
414484
name: libuv
415485
evr: 1:1.42.0-2.el9_4
416486
sourcerpm: libuv-1.42.0-2.el9_4.src.rpm
487+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libwebp-1.2.0-8.el9_3.x86_64.rpm
488+
repoid: ubi-9-for-x86_64-appstream-rpms
489+
size: 289212
490+
checksum: sha256:6b99032107aa1d6b28dd98c44b0dc6451ce632627ccf6da0c29ac34fd5f501e8
491+
name: libwebp
492+
evr: 1.2.0-8.el9_3
493+
sourcerpm: libwebp-1.2.0-8.el9_3.src.rpm
417494
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/l/libxcrypt-compat-4.4.18-3.el9.x86_64.rpm
418495
repoid: ubi-9-for-x86_64-appstream-rpms
419496
size: 93189
@@ -449,6 +526,13 @@ arches:
449526
name: oniguruma
450527
evr: 6.9.6-1.el9.5
451528
sourcerpm: oniguruma-6.9.6-1.el9.5.src.rpm
529+
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/o/openjpeg2-2.4.0-8.el9.x86_64.rpm
530+
repoid: ubi-9-for-x86_64-appstream-rpms
531+
size: 168804
532+
checksum: sha256:5e532b4206b8af2dcb6e787ca9497b5eb3d333b743b5e7729ded66aa50e8ae78
533+
name: openjpeg2
534+
evr: 2.4.0-8.el9
535+
sourcerpm: openjpeg2-2.4.0-8.el9.src.rpm
452536
- url: https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi9/9/x86_64/appstream/os/Packages/p/patch-2.7.6-16.el9.x86_64.rpm
453537
repoid: ubi-9-for-x86_64-appstream-rpms
454538
size: 133240

0 commit comments

Comments
 (0)