From 78f7a5e9d37e3b4f50190ebd3322cfb9c851e6fa Mon Sep 17 00:00:00 2001 From: komuW Date: Tue, 28 Aug 2018 15:37:55 +0300 Subject: [PATCH] squash layers by default --- image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image.go b/image.go index 729daca5..488159a1 100644 --- a/image.go +++ b/image.go @@ -192,7 +192,7 @@ func BuildDockerImage(ctx context.Context, cli APIclient, dc *DockerContainer) ( dockerFileTarReader, types.ImageBuildOptions{ //PullParent: true, - //Squash: true, currently only supported in experimenta mode + Squash: true, //currently only supported in experimenta mode Tags: []string{imageName}, Remove: true, //remove intermediary containers after build NoCache: dc.Rebuild,