Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/kit/src/run_ephemeral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,11 @@ fn prepare_run_command_with_temp(
// (We don't want all of `/` as that would scope in a lot more)
"/usr:/run/tmproot/usr:ro",
"-v",
// Some host distributions don't have all libraries in /lib or /lib64.
// We mount the current ld.so.cache into the tmproot so it matches
// library locations in the mounted /usr
"/etc/ld.so.cache:/run/tmproot/etc/ld.so.cache:ro",
"-v",
&format!("{}:{}", entrypoint_path, ENTRYPOINT),
"-v",
&format!("{self_exe}:/run/selfexe:ro"),
Expand Down