Skip to content

Commit 59b6108

Browse files
committed
Add explicit PATH to container
Workaround for actions/runner#3210 in https://github.com/alisw/alidist/blob/master/.github/workflows/check_untested_pkgs.yml Fixes: ``` OCI runtime exec failed: exec failed: unable to start container process: exec: "sh": executable file not found in $PATH ```
1 parent cdde5b8 commit 59b6108

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

slc9-builder/packer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"commit": true,
1212
"changes": [
1313
"ENTRYPOINT [\"\"]",
14-
"CMD [\"/bin/bash\"]"
14+
"CMD [\"/bin/bash\"]",
15+
"ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
1516
]
1617
}
1718
],

0 commit comments

Comments
 (0)