Open jthemphill opened 1 week ago
We have to download a package from https://apt-archive.postgresql.org/pub/repos/apt/dists/bookworm-pgdg-archive/main/binary-arm64/index.html, which only provides Packages.bz2 and does not provide Packages.xz or Packages.gz.
Packages.bz2
Packages.xz
Packages.gz
We fixed this by locally patching rules_distroless to include bz2 support here:
rules_distroless
bz2
https://github.com/GoogleContainerTools/rules_distroless/blob/a1b5fe36fa7e1b6b6ffc97e90ccf00f6778fdb72/apt/private/apt_deb_repository.bzl#L13-L16
We added the line
"bz2": ["bzip2", "--decompress", "--keep", "--force"],
Could we upstream this change?
We have to download a package from https://apt-archive.postgresql.org/pub/repos/apt/dists/bookworm-pgdg-archive/main/binary-arm64/index.html, which only provides
Packages.bz2
and does not providePackages.xz
orPackages.gz
.We fixed this by locally patching
rules_distroless
to includebz2
support here:https://github.com/GoogleContainerTools/rules_distroless/blob/a1b5fe36fa7e1b6b6ffc97e90ccf00f6778fdb72/apt/private/apt_deb_repository.bzl#L13-L16
We added the line
Could we upstream this change?