mirror of
https://github.com/mudler/luet.git
synced 2025-09-02 07:45:02 +00:00
Introduce lock for installation
It is used to ensure integrity and that we do install one package at once. This is to ensure that we extract correctly, and that we are not too much I/O intensive depending on CPU
This commit is contained in:
@@ -161,13 +161,8 @@ RUN echo bar > /test2`))
|
||||
_, _, err = image.ExtractTo(
|
||||
ctx,
|
||||
img,
|
||||
resultingImage,
|
||||
image.ExtractFiles(
|
||||
ctx,
|
||||
"",
|
||||
[]string{},
|
||||
[]string{},
|
||||
),
|
||||
result,
|
||||
nil,
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
@@ -215,13 +210,8 @@ RUN echo bar > /test2`))
|
||||
_, _, err = image.ExtractTo(
|
||||
ctx,
|
||||
img,
|
||||
resultingImage,
|
||||
image.ExtractFiles(
|
||||
ctx,
|
||||
"",
|
||||
[]string{},
|
||||
[]string{},
|
||||
),
|
||||
result,
|
||||
nil,
|
||||
)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
|
Reference in New Issue
Block a user