You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS doesn't natively have an xz command, the native way to decompress xz files is surprisingly gzip -d Packages.xz (gzip in macOS is a non-standard Apple variant).
It's fairly easy to workaround by installing xz (brew install xz) so the xz command works. Ideally rules_distroless should use the native macOS command automatically but documenting this macOS dependency in the README would be helpful too.
The text was updated successfully, but these errors were encountered:
Ideally we'd want to use something like zstd to decompress and not depend on host binaries, but unfortunately i don't have the time to invest into this.
Package index fetching logic depends on the
xz
command to decompressPackages.xz
(seerules_distroless/apt/private/package_index.bzl
Line 8 in 9da4ee5
macOS doesn't natively have an
xz
command, the native way to decompress xz files is surprisinglygzip -d Packages.xz
(gzip
in macOS is a non-standard Apple variant).It's fairly easy to workaround by installing
xz
(brew install xz
) so thexz
command works. Ideally rules_distroless should use the native macOS command automatically but documenting this macOS dependency in the README would be helpful too.The text was updated successfully, but these errors were encountered: