-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: oci: set default PATH if image does not
OCI images almost always set `PATH` in their config. However, some don't. Most recently, `docker://busybox:latest` changed and the new version: * Doesn't set `PATH` in its config. * Has a CMD of `sh` which has to be found on a `PATH`. Singularity's OCI mode was failing to find `sh`. Other runtimes set a default `PATH` in the container, so running `busybox:latest` still works. This PR ensures we set a default `PATH` in the container where the image does not provide one. Fixes #2721
- Loading branch information
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters