mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
--squash --layers=false should be allowed
This is the same as what --squash-all is doing, and we already support --squash with --layers=true since this is the default. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@@ -190,12 +190,11 @@ var _ = Describe("Podman build", func() {
|
||||
// Test if entire build is used from cache
|
||||
Expect(session.OutputToString()).To(ContainSubstring("Using cache"))
|
||||
|
||||
session = podmanTest.Podman([]string{"inspect", "--format", "{{.RootFS.Layers}}", "test-squash-d"})
|
||||
session = podmanTest.Podman([]string{"inspect", "--format", "{{.RootFS.Layers}}", "test"})
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(ExitCleanly())
|
||||
// Check for one layers
|
||||
Expect(strings.Fields(session.OutputToString())).To(HaveLen(1))
|
||||
|
||||
})
|
||||
|
||||
It("podman build Containerfile locations", func() {
|
||||
|
||||
Reference in New Issue
Block a user