Skip to content

Commit

Permalink
fix[closes #36]: Use exec format for entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Apr 21, 2024
1 parent 5273329 commit 0bc5cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func BuildContainerfile(recipe *api.Recipe) error {
// ENTRYPOINT
if len(stage.Entrypoint) > 0 {
_, err = containerfile.WriteString(
fmt.Sprintf("ENTRYPOINT %s\n", strings.Join(stage.Entrypoint, " ")),
fmt.Sprintf("ENTRYPOINT [\"%s\"]\n", strings.Join(stage.Entrypoint, "\",\"")),
)
if err != nil {
return err
Expand Down

0 comments on commit 0bc5cb2

Please sign in to comment.