From bb17d1fabbd75d76edb8bf26e006ff0238ba8c00 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Sun, 16 Oct 2016 11:05:31 +0000 Subject: [PATCH] [test] fix failure of TestBuildLabelsOverride on Windows TestBuildLabelsOverride was consistently failing due to "Windows does not support FROM scratch" error Signed-off-by: Akihiro Suda --- integration-cli/docker_cli_build_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_build_test.go b/integration-cli/docker_cli_build_test.go index 4845de0cd4..bf825c2302 100644 --- a/integration-cli/docker_cli_build_test.go +++ b/integration-cli/docker_cli_build_test.go @@ -6636,7 +6636,7 @@ func (s *DockerSuite) TestBuildLabelsOverride(c *check.C) { name = "scratchz" expected = `{"bar":"$PATH"}` _, err = buildImage(name, - `FROM scratch`, + `FROM `+minimalBaseImage(), true, "--label", "bar=$PATH") c.Assert(err, check.IsNil)