[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:
parent
2a3ba03424
commit
bb17d1fabb
|
@ -6636,7 +6636,7 @@ func (s *DockerSuite) TestBuildLabelsOverride(c *check.C) {
|
||||||
name = "scratchz"
|
name = "scratchz"
|
||||||
expected = `{"bar":"$PATH"}`
|
expected = `{"bar":"$PATH"}`
|
||||||
_, err = buildImage(name,
|
_, err = buildImage(name,
|
||||||
`FROM scratch`,
|
`FROM `+minimalBaseImage(),
|
||||||
true, "--label", "bar=$PATH")
|
true, "--label", "bar=$PATH")
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue