You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's use Docker's `COPY --chmod` feature instead of using a separate
chmod command. This will reduce the generated image size by ~12KB.
Fixes: containerd#402
Signed-off-by: Yifan Zhao <zhaoyifan@sjtu.edu.cn>
37MB is wasted here as the
COPY
layer is completely overlayed by theRUN chmod
one:nydus-snapshotter/misc/snapshotter/Dockerfile
Lines 25 to 26 in 1e7a12e
Should use
COPY --chmod
instead from buildkit.Dive output:
The text was updated successfully, but these errors were encountered: