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
Since then, when we run a script directly with a command like sleeper builder ./sleeper/scripts/build/buildForTest.sh, if the script has no shebang we get this error:
exec /sleeper-builder/sleeper/scripts/build/buildForTest.sh: exec format error
Steps to reproduce
Install Sleeper CLI
Check out Sleeper Git repository inside sleeper builder image
Run sleeper builder ./sleeper/scripts/build/buildForTest.sh
See error
Expected behaviour
All commands run directly with sleeper builder or sleeper environment should be run in a Bash shell.
The text was updated successfully, but these errors were encountered:
Description
We recently switched the
CMD
statements in the Sleeper CLI Dockerfiles to use the JSON-based exec form instead of the shell form:Since then, when we run a script directly with a command like
sleeper builder ./sleeper/scripts/build/buildForTest.sh
, if the script has no shebang we get this error:Steps to reproduce
sleeper builder
imagesleeper builder ./sleeper/scripts/build/buildForTest.sh
Expected behaviour
All commands run directly with
sleeper builder
orsleeper environment
should be run in a Bash shell.The text was updated successfully, but these errors were encountered: