mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Clean more build utils in integration cli
- Remove deprecated buildImage* functions - Rename buildImageNew to buildImage - Use *check.C in fakeContext* setup and in getIdByName Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
8c7651998f
commit
c10f6ef43f
28 changed files with 587 additions and 1194 deletions
|
@ -72,11 +72,9 @@ func (s *DockerSuite) TestSaveAndLoadRepoStdout(c *check.C) {
|
|||
|
||||
func (s *DockerSuite) TestSaveAndLoadWithProgressBar(c *check.C) {
|
||||
name := "test-load"
|
||||
_, err := buildImage(name, `
|
||||
FROM busybox
|
||||
buildImageSuccessfully(c, name, withDockerfile(`FROM busybox
|
||||
RUN touch aa
|
||||
`, true)
|
||||
c.Assert(err, check.IsNil)
|
||||
`))
|
||||
|
||||
tmptar := name + ".tar"
|
||||
dockerCmd(c, "save", "-o", tmptar, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue