We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc691f2 commit c2369f6Copy full SHA for c2369f6
cmd/werf/run/run.go
@@ -95,11 +95,11 @@ func NewCmd(ctx context.Context) *cobra.Command {
95
if len(cmdData.DockerOptions) == 0 && len(cmdData.DockerCommand) == 0 {
96
cmdData.DockerOptions = []string{"-ti", "--rm"}
97
if cmdData.Shell {
98
- cmdData.DockerCommand = []string{"/bin/sh"}
+ cmdData.DockerOptions = append(cmdData.DockerOptions, "--entrypoint=/bin/sh")
99
}
100
101
if cmdData.Bash {
102
- cmdData.DockerCommand = []string{"/bin/bash"}
+ cmdData.DockerOptions = append(cmdData.DockerOptions, "--entrypoint=/bin/bash")
103
104
} else {
105
common.PrintHelp(cmd)
0 commit comments