[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> Upstream-commit: bb17d1fabbd75d76edb8bf26e006ff0238ba8c00 Component: engine
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user