Skip to content

Commit

Permalink
Merge pull request #4901 from werf/fix_buildah_cmd_entrypoint_shell
Browse files Browse the repository at this point in the history
fix(buildah): different processing of CMD/ENTRYPOINT by Stapel and Buildah backend
  • Loading branch information
alexey-igrychev committed Sep 7, 2022
2 parents 2f53aa4 + 97e89b0 commit b8efbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/stage/docker_instructions.go
Expand Up @@ -121,7 +121,7 @@ func CmdOrEntrypointStringToSlice(cmdOrEntrypoint string) ([]string, error) {
return nil, fmt.Errorf("error parsing to the JSON array: %w", err)
}
} else {
result = []string{cmdOrEntrypoint}
result = []string{"/bin/sh", "-c", cmdOrEntrypoint}
}
}

Expand Down

0 comments on commit b8efbbd

Please sign in to comment.