Skip to content

Commit 8e298f2

Browse files
committed
fix: Add zlib/libzstd to base-debian13 image
because OpenSSL 3.2+ uses those libraries to support TLS Certificate Compression, OpenSSL now requires zlib and libzstd. without this change, you need to add zlib/libzstd manually in your Dockerfile for use OpenSSL, otherwise you will get errors like `libzstd.so.1: cannot open shared object file: No such file or directory`. see: * https://salsa.debian.org/debian/openssl/-/commit/ca7e7b08746d408da112fe63d5a3bf941c345ec0 (note: Debian is disabling brotil compression, see https://salsa.debian.org/debian/openssl/-/commit/26109eddd699cce5c3aecb42ec1c5178cbde7d84 )
1 parent 55c590c commit 8e298f2

File tree

5 files changed

+173
-59
lines changed

5 files changed

+173
-59
lines changed

MODULE.bazel.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

base/config.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ BASE_PACKAGES = {
1212
"debian13": [
1313
"libc6",
1414
"libssl3t64",
15+
"libzstd1",
16+
"zlib1g",
17+
"openssl-provider-legacy",
1518
],
1619
}
1720

cc/config.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ CC_PACKAGES = {
1616
"libstdc++6",
1717
"libgcc-s1",
1818
"gcc-14-base",
19-
"zlib1g",
2019
],
2120
}

private/repos/deb/trixie.lock.json

Lines changed: 165 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,39 @@
9999
],
100100
"version": "13.0.0"
101101
},
102+
{
103+
"arch": "amd64",
104+
"dependencies": [],
105+
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_amd64",
106+
"name": "zlib1g",
107+
"sha256": "015be740d6236ad114582dea500c1d907f29e16d6db00566ca32fb68d71ac90d",
108+
"urls": [
109+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_amd64.deb"
110+
],
111+
"version": "1:1.3.dfsg+really1.3.1-1+b1"
112+
},
113+
{
114+
"arch": "amd64",
115+
"dependencies": [],
116+
"key": "libzstd1_1.5.7-p-dfsg-1_amd64",
117+
"name": "libzstd1",
118+
"sha256": "2f6a2aeacfc925eba8b00ac9139bc4bfccf8cacb09eb93de067074b26948eef9",
119+
"urls": [
120+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/libz/libzstd/libzstd1_1.5.7+dfsg-1_amd64.deb"
121+
],
122+
"version": "1.5.7+dfsg-1"
123+
},
124+
{
125+
"arch": "amd64",
126+
"dependencies": [],
127+
"key": "openssl-provider-legacy_3.5.4-1_deb13u1_amd64",
128+
"name": "openssl-provider-legacy",
129+
"sha256": "0a4003bfd2442b86908e1a626cf46159af35aa78308abd3186515fdf8c7f056b",
130+
"urls": [
131+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/o/openssl/openssl-provider-legacy_3.5.4-1~deb13u1_amd64.deb"
132+
],
133+
"version": "3.5.4-1~deb13u1"
134+
},
102135
{
103136
"arch": "amd64",
104137
"dependencies": [],
@@ -143,17 +176,6 @@
143176
],
144177
"version": "14.2.0-19"
145178
},
146-
{
147-
"arch": "amd64",
148-
"dependencies": [],
149-
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_amd64",
150-
"name": "zlib1g",
151-
"sha256": "015be740d6236ad114582dea500c1d907f29e16d6db00566ca32fb68d71ac90d",
152-
"urls": [
153-
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_amd64.deb"
154-
],
155-
"version": "1:1.3.dfsg+really1.3.1-1+b1"
156-
},
157179
{
158180
"arch": "arm64",
159181
"dependencies": [],
@@ -253,6 +275,39 @@
253275
],
254276
"version": "13.0.0"
255277
},
278+
{
279+
"arch": "arm64",
280+
"dependencies": [],
281+
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_arm64",
282+
"name": "zlib1g",
283+
"sha256": "209aa5cf671e97b9eb0410844fa6df4cae2e75b0c72e7802ab6c8ece13e6ddef",
284+
"urls": [
285+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_arm64.deb"
286+
],
287+
"version": "1:1.3.dfsg+really1.3.1-1+b1"
288+
},
289+
{
290+
"arch": "arm64",
291+
"dependencies": [],
292+
"key": "libzstd1_1.5.7-p-dfsg-1_arm64",
293+
"name": "libzstd1",
294+
"sha256": "924540bd59fdbfa77a0604360efdaca54411a43daf11c7e002a3c64791b67448",
295+
"urls": [
296+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/libz/libzstd/libzstd1_1.5.7+dfsg-1_arm64.deb"
297+
],
298+
"version": "1.5.7+dfsg-1"
299+
},
300+
{
301+
"arch": "arm64",
302+
"dependencies": [],
303+
"key": "openssl-provider-legacy_3.5.4-1_deb13u1_arm64",
304+
"name": "openssl-provider-legacy",
305+
"sha256": "53bbd0f1dcc6aff96d79a2f726f839c60dc95df681dcf1427f564e184fb6fc7f",
306+
"urls": [
307+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/o/openssl/openssl-provider-legacy_3.5.4-1~deb13u1_arm64.deb"
308+
],
309+
"version": "3.5.4-1~deb13u1"
310+
},
256311
{
257312
"arch": "arm64",
258313
"dependencies": [],
@@ -297,17 +352,6 @@
297352
],
298353
"version": "14.2.0-19"
299354
},
300-
{
301-
"arch": "arm64",
302-
"dependencies": [],
303-
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_arm64",
304-
"name": "zlib1g",
305-
"sha256": "209aa5cf671e97b9eb0410844fa6df4cae2e75b0c72e7802ab6c8ece13e6ddef",
306-
"urls": [
307-
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_arm64.deb"
308-
],
309-
"version": "1:1.3.dfsg+really1.3.1-1+b1"
310-
},
311355
{
312356
"arch": "armhf",
313357
"dependencies": [],
@@ -407,6 +451,39 @@
407451
],
408452
"version": "13.0.0"
409453
},
454+
{
455+
"arch": "armhf",
456+
"dependencies": [],
457+
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_armhf",
458+
"name": "zlib1g",
459+
"sha256": "81c55a59e1570477ecef6a449bf6dce44dad67ba4ce9e04760451d4cfe200534",
460+
"urls": [
461+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_armhf.deb"
462+
],
463+
"version": "1:1.3.dfsg+really1.3.1-1+b1"
464+
},
465+
{
466+
"arch": "armhf",
467+
"dependencies": [],
468+
"key": "libzstd1_1.5.7-p-dfsg-1_armhf",
469+
"name": "libzstd1",
470+
"sha256": "da5238dd84fc51f782f39d435821bff556409b3dbc82d232e4e81f427fb1ca65",
471+
"urls": [
472+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/libz/libzstd/libzstd1_1.5.7+dfsg-1_armhf.deb"
473+
],
474+
"version": "1.5.7+dfsg-1"
475+
},
476+
{
477+
"arch": "armhf",
478+
"dependencies": [],
479+
"key": "openssl-provider-legacy_3.5.4-1_deb13u1_armhf",
480+
"name": "openssl-provider-legacy",
481+
"sha256": "b6f060484c7717b937f64c56b6317e5e1d8a286f04627451a3f6e7e6ed39d2fd",
482+
"urls": [
483+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/o/openssl/openssl-provider-legacy_3.5.4-1~deb13u1_armhf.deb"
484+
],
485+
"version": "3.5.4-1~deb13u1"
486+
},
410487
{
411488
"arch": "armhf",
412489
"dependencies": [],
@@ -451,17 +528,6 @@
451528
],
452529
"version": "14.2.0-19"
453530
},
454-
{
455-
"arch": "armhf",
456-
"dependencies": [],
457-
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_armhf",
458-
"name": "zlib1g",
459-
"sha256": "81c55a59e1570477ecef6a449bf6dce44dad67ba4ce9e04760451d4cfe200534",
460-
"urls": [
461-
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_armhf.deb"
462-
],
463-
"version": "1:1.3.dfsg+really1.3.1-1+b1"
464-
},
465531
{
466532
"arch": "s390x",
467533
"dependencies": [],
@@ -561,6 +627,39 @@
561627
],
562628
"version": "13.0.0"
563629
},
630+
{
631+
"arch": "s390x",
632+
"dependencies": [],
633+
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_s390x",
634+
"name": "zlib1g",
635+
"sha256": "e38a94c60e944dfcf1937a12b02785afbbb2bedf356da18984c4dac0acc47ed9",
636+
"urls": [
637+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_s390x.deb"
638+
],
639+
"version": "1:1.3.dfsg+really1.3.1-1+b1"
640+
},
641+
{
642+
"arch": "s390x",
643+
"dependencies": [],
644+
"key": "libzstd1_1.5.7-p-dfsg-1_s390x",
645+
"name": "libzstd1",
646+
"sha256": "ed6bd13718360720b0a03d62e2440bd926b1db3b7443f46314fe3deb7e69989e",
647+
"urls": [
648+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/libz/libzstd/libzstd1_1.5.7+dfsg-1_s390x.deb"
649+
],
650+
"version": "1.5.7+dfsg-1"
651+
},
652+
{
653+
"arch": "s390x",
654+
"dependencies": [],
655+
"key": "openssl-provider-legacy_3.5.4-1_deb13u1_s390x",
656+
"name": "openssl-provider-legacy",
657+
"sha256": "98613108a9c745a8b09364b7b59b2da55f6ee3e9fb0c6f7e695fe15d21080390",
658+
"urls": [
659+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/o/openssl/openssl-provider-legacy_3.5.4-1~deb13u1_s390x.deb"
660+
],
661+
"version": "3.5.4-1~deb13u1"
662+
},
564663
{
565664
"arch": "s390x",
566665
"dependencies": [],
@@ -605,17 +704,6 @@
605704
],
606705
"version": "14.2.0-19"
607706
},
608-
{
609-
"arch": "s390x",
610-
"dependencies": [],
611-
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_s390x",
612-
"name": "zlib1g",
613-
"sha256": "e38a94c60e944dfcf1937a12b02785afbbb2bedf356da18984c4dac0acc47ed9",
614-
"urls": [
615-
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_s390x.deb"
616-
],
617-
"version": "1:1.3.dfsg+really1.3.1-1+b1"
618-
},
619707
{
620708
"arch": "ppc64el",
621709
"dependencies": [],
@@ -715,6 +803,39 @@
715803
],
716804
"version": "13.0.0"
717805
},
806+
{
807+
"arch": "ppc64el",
808+
"dependencies": [],
809+
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_ppc64el",
810+
"name": "zlib1g",
811+
"sha256": "f526e830310db11983cf51cfde95a74bc449a7bdc44b6ce68827d78802f1b4ae",
812+
"urls": [
813+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_ppc64el.deb"
814+
],
815+
"version": "1:1.3.dfsg+really1.3.1-1+b1"
816+
},
817+
{
818+
"arch": "ppc64el",
819+
"dependencies": [],
820+
"key": "libzstd1_1.5.7-p-dfsg-1_ppc64el",
821+
"name": "libzstd1",
822+
"sha256": "1cdefa11a7d31bb36b610d4e44551870a44dfc6cac8359ebe9f9061a4f830773",
823+
"urls": [
824+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/libz/libzstd/libzstd1_1.5.7+dfsg-1_ppc64el.deb"
825+
],
826+
"version": "1.5.7+dfsg-1"
827+
},
828+
{
829+
"arch": "ppc64el",
830+
"dependencies": [],
831+
"key": "openssl-provider-legacy_3.5.4-1_deb13u1_ppc64el",
832+
"name": "openssl-provider-legacy",
833+
"sha256": "badc4f2d1552b72a96b59c15f93e418d86f0b0953c414f53b141028b960c1ba4",
834+
"urls": [
835+
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/o/openssl/openssl-provider-legacy_3.5.4-1~deb13u1_ppc64el.deb"
836+
],
837+
"version": "3.5.4-1~deb13u1"
838+
},
718839
{
719840
"arch": "ppc64el",
720841
"dependencies": [],
@@ -758,17 +879,6 @@
758879
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/g/gcc-14/libstdc++6_14.2.0-19_ppc64el.deb"
759880
],
760881
"version": "14.2.0-19"
761-
},
762-
{
763-
"arch": "ppc64el",
764-
"dependencies": [],
765-
"key": "zlib1g_1-1.3.dfsg-p-really1.3.1-1-p-b1_ppc64el",
766-
"name": "zlib1g",
767-
"sha256": "f526e830310db11983cf51cfde95a74bc449a7bdc44b6ce68827d78802f1b4ae",
768-
"urls": [
769-
"https://snapshot.debian.org/archive/debian/20251115T203127Z/pool/main/z/zlib/zlib1g_1.3.dfsg+really1.3.1-1+b1_ppc64el.deb"
770-
],
771-
"version": "1:1.3.dfsg+really1.3.1-1+b1"
772882
}
773883
],
774884
"version": 1

private/repos/deb/trixie.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ packages:
2626
- openssl
2727
- tzdata
2828
- media-types
29+
- zlib1g
30+
- libzstd1
31+
- openssl-provider-legacy
2932
# c++
3033
- gcc-14-base
3134
- libgcc-s1
3235
- libgomp1
3336
- libstdc++6
34-
- zlib1g

0 commit comments

Comments
 (0)