Skip to content

Commit

Permalink
Fix dockerVersion command creation (#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfyda authored and muuki88 committed Oct 24, 2017
1 parent f9c165a commit e5f1a91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ object DockerPlugin extends AutoPlugin {
dockerEntrypoint := Seq("bin/%s" format executableScriptName.value),
dockerCmd := Seq(),
dockerExecCommand := Seq("docker"),
dockerVersion := Try(Process(dockerExecCommand.value ++ Seq("version --format '{{.Server.Version}}'")).!!)
dockerVersion := Try(Process(dockerExecCommand.value ++ Seq("version", "--format", "'{{.Server.Version}}'")).!!)
.toOption.map(_.trim)
.flatMap(DockerVersion.parse),
dockerBuildOptions := Seq("--force-rm") ++ Seq("-t", dockerAlias.value.versioned) ++ (
Expand Down

0 comments on commit e5f1a91

Please sign in to comment.