|
|
@@ -48,7 +48,7 @@ public class DockerApiImpl implements DockerApi {
|
|
|
handler,
|
|
|
DockerClient.BuildParam.name(registry + "/" + imageName + ":" + imageTag),
|
|
|
DockerClient.BuildParam.forceRm(),
|
|
|
- DockerClient.BuildParam.create("no-cache", useCache ? "false" : "true"));
|
|
|
+ DockerClient.BuildParam.create("nocache", useCache ? "false" : "true"));
|
|
|
if (imageId == null) {
|
|
|
throw new IOException("Failed to build docker image under [" + directory + "]");
|
|
|
}
|