Skip to content

docker run not working inside a GitHub action #27209

Answered by airtower-luna
JJ asked this question in Actions
Discussion options

You must be logged in to vote

Looking at the Dockerfile of that container I’d be extremely surprised if Bash was available. It’s based on an Alpine image, which by default only has the Busybox shell (as sh), and there’s no command in the Dockerfile that looks like it would install Bash. Maybe you have an older version locally that included Bash?

Does your build work if you call sh instead of bash?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants