- Jun 30, 2025
-
-
Matthew Clarkson authored
-
- Jun 11, 2025
-
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Mar 04, 2025
-
-
Tomer Shterenberg authored
-
- Feb 12, 2025
-
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Bazel warns when a transitive module has a higher module version than the root module. This warnings are noisy as we _want_ Bazel to select newer versions based on the `compatibility_level`
-
Matthew Clarkson authored
-
- Feb 11, 2025
-
-
-
Matthew Clarkson authored
Ensures the `semantic-release` job hits a Linux runner that respects `image`
-
Matthew Clarkson authored
Removes unhermetic `basename` usage.
-
- Jan 09, 2025
-
-
Matthew Clarkson authored
`rules_distroless` is currently using a unhermetic `basename`. There is a patch[1] upstream that fixes it by using vanilla Shell code. For now, include the patch in the end-to-end tests so that we can validate out module. [1]: https://github.com/GoogleContainerTools/rules_distroless/pull/143
-
- Dec 20, 2024
-
-
Use `patchelf_unpack` to unpack the downloaded packages and patch the ELF interpreter path: ```py patchelf_unpack( name = "patched", # `rules_distroless#apt` extension is *highly* recommended srcs = ["@debian-bookworm-qemu//:packages"], filters = [ "usr/share/doc/**", # No need to unpack documentation "lib64/ld-linux-*.so.?", # Remove dangling symlink ], ) ``` Use `patchelf_launcher` to launch a binary from the unpacked directory: ```py patchelf_launcher( name = "qemu-system-x86_64", srcs = [ ":patched", "@rules_patchelf//patchelf/launcher/elf/interpreter/debian", "@rules_patchelf//patchelf/launcher/library/path/debian", ], env = { "TMPDIR": "./tmp", }, ) ``` Run the binary: ```console $ bazelisk run -- :qemu-system-x86_64 --version QEMU emulator version 7.2.13 (Debian 1:7.2+dfsg-7+deb12u7) Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers ``` Closes rfc#1
-