We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77186bb commit 5113200Copy full SHA for 5113200
pkg/docker/image.go
@@ -86,7 +86,7 @@ func BuildDockerImageFromGitRepo(host *models.Host, image string, gitRepo string
86
}
87
}()
88
// clone the repo and checkout commit
89
- if _, err := host.Command(fmt.Sprintf("git clone %s %s && cd %s && git checkout %s && sleep 2", gitRepo, tmpDir, tmpDir, commit), nil, constants.SSHLongRunningScriptTimeout); err != nil {
+ if _, err := host.Command(fmt.Sprintf("git clone %s %s && cd %s && git checkout %s", gitRepo, tmpDir, tmpDir, commit), nil, constants.SSHLongRunningScriptTimeout); err != nil {
90
return err
91
92
// build the image
0 commit comments