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
utils: add BOOTC_PODMAN_BIN and BOOTC_SKOPEO_BIN env overrides
Add two environment variables that allow callers to substitute an
alternative binary for podman and skopeo without creating hard links
or symlinks on the filesystem.
BOOTC_PODMAN_BIN and BOOTC_SKOPEO_BIN default to "podman" and
"skopeo" respectively, preserving existing behaviour when unset.
Helper functions podman_bin() and skopeo_bin() are added to
bootc-internal-utils and used at every call site across crates/lib
and crates/ostree-ext.
This unblocks downstream projects that ship a single alternative
binary (e.g. dtool) in place of both tools by setting the env vars
rather than hard-linking that binary into /usr/bin.
Assisted-by: OpenCode (claude-sonnet-4-6)
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
0 commit comments