Fix name of Docker binaries

This commit fixes an oops when pushing a change to add the building of
the Docker images. A change that was made for testing was accidentally
left behind. This commit addresses that.
This commit is contained in:
Jason Tedor 2018-12-06 17:10:45 -05:00
parent 11dd412ec6
commit ed45acf221
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5

View File

@ -259,7 +259,7 @@ class BuildPlugin implements Plugin<Project> {
rootProject.rootProject.ext.requiresDocker = []
rootProject.gradle.taskGraph.whenReady { TaskExecutionGraph taskGraph ->
// check if the Docker binary exists and record its path
final List<String> maybeDockerBinaries = ['/usr/bin/docker2', '/usr/local/bin/docker2']
final List<String> maybeDockerBinaries = ['/usr/bin/docker', '/usr/local/bin/docker']
final String dockerBinary = maybeDockerBinaries.find { it -> new File(it).exists() }
int exitCode