mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 07:09:13 +00:00
use containerd to uncompress
This commit is contained in:
@@ -58,6 +58,7 @@ var _ = Describe("Extract", func() {
|
||||
_, tmpdir, err := Extract(
|
||||
ctx,
|
||||
img,
|
||||
true,
|
||||
ExtractFiles(ctx, "", []string{}, []string{}),
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
@@ -71,6 +72,7 @@ var _ = Describe("Extract", func() {
|
||||
_, tmpdir, err := Extract(
|
||||
ctx,
|
||||
img,
|
||||
true,
|
||||
ExtractFiles(ctx, "/usr", []string{}, []string{}),
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
@@ -84,6 +86,7 @@ var _ = Describe("Extract", func() {
|
||||
_, tmpdir, err := Extract(
|
||||
ctx,
|
||||
img,
|
||||
true,
|
||||
ExtractFiles(ctx, "/usr", []string{"bin"}, []string{"sbin"}),
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
@@ -98,6 +101,7 @@ var _ = Describe("Extract", func() {
|
||||
_, tmpdir, err := Extract(
|
||||
ctx,
|
||||
img,
|
||||
true,
|
||||
ExtractFiles(ctx, "", []string{"/usr|/usr/bin"}, []string{"^/bin"}),
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
Reference in New Issue
Block a user