Usage of zlib

11 views
Skip to first unread message

Berry

unread,
Aug 25, 2025, 6:07:53 AMAug 25
to Distroless Users

Andrew Latham

unread,
Aug 25, 2025, 9:26:47 AMAug 25
to distrole...@googlegroups.com
That is a library often required for zip and it appears the naming on
debian does not have a lib- on it
https://packages.debian.org/trixie/zlib1g

zlib1g is only on Python and Java builds so I suspect it is to supply
the zip requirements for something.
> --
> You received this message because you are subscribed to the Google Groups "Distroless Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to distroless-use...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/distroless-users/bedc25fa-838b-4a9c-9e03-6354efbcbfbcn%40googlegroups.com.



--
- Andrew "lathama" Latham -
Message has been deleted

Andrew Latham

unread,
Aug 25, 2025, 11:43:11 AMAug 25
to distrole...@googlegroups.com

Evan Jones

unread,
Aug 25, 2025, 1:39:01 PMAug 25
to distrole...@googlegroups.com
It is similarly a requirement for the JVM itself, as shown by the Debian package requirements [1]. I believe this is used to implement parts of the standard library, such as GZipInputStream. Java jar files are zip files, so I would guess the JVM uses this itself to decompress jar files.




Reply all
Reply to author
Forward
0 new messages