Skip to content

Commit

Permalink
Revert "revert changes to docker entrypoint; since this is a backward…
Browse files Browse the repository at this point in the history
…s-breaking change it needs to wait for a minor release"

This reverts commit 2a79d64.
  • Loading branch information
azr committed Dec 13, 2018
1 parent 2a79d64 commit 2718a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/docker/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {

// Defaults
if len(c.RunCommand) == 0 {
c.RunCommand = []string{"-d", "-i", "-t", "{{.Image}}", "/bin/bash"}
c.RunCommand = []string{"-d", "-i", "-t", "--entrypoint=/bin/sh", "--", "{{.Image}}"}
}

// Default Pull if it wasn't set
Expand Down

1 comment on commit 2718a5e

@azr
Copy link
Contributor Author

@azr azr commented on 2718a5e Apr 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a reapply of #7091

Please sign in to comment.