Skip to content

Commit

Permalink
fix: Do not use bash in busybox images by default
Browse files Browse the repository at this point in the history
  • Loading branch information
iximiuz committed Jan 15, 2023
1 parent 6701046 commit cda4fa4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ func debuggerEntrypoint(
if len(cmd) == 0 {
// bash provides a much better UX out of the box, so
// let's try to use bash if we know it's likely available.
if strings.Contains(image, "busybox") {
return "bash"
}
if strings.HasPrefix(image, "nixery.dev") && strings.Contains(image, "/shell") {
return "bash"
}
Expand Down

0 comments on commit cda4fa4

Please sign in to comment.