[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 <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2016-10-16 11:05:31 +00:00
parent 2a3ba03424
commit bb17d1fabb
1 changed files with 1 additions and 1 deletions

View File

@ -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)