nvidia-container-toolkit/cmd/nvidia-ctk/cdi
Jared Baur 838493b8b9
Allow for customizing the path to ldconfig
Since the `createContainer` `runc` hook runs with the environment that
the container's config.json specifies, the path to `ldconfig` may not be
easily resolvable if the host environment differs enough from the
container (e.g. on a NixOS host where all binaries are under hashed
paths in /nix/store with an Ubuntu container whose PATH contains
FHS-style paths such as /bin and /usr/bin). This change allows for
specifying exactly where ldconfig comes from.

Signed-off-by: Jared Baur <jaredbaur@fastmail.com>
2024-01-17 21:07:00 -08:00
..
generate Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
list run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
transform run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
cdi.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00