Merge pull request #27416 from AkihiroSuda/fix-failing-TestBuildLabelsOverride
[test] fix failure of TestBuildLabelsOverride on Windows Upstream-commit: 319a929c371525b7521d08dcc13fb34317a76ff4 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