Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: use pigz to uncompress #1799

Merged
merged 1 commit into from
Nov 16, 2020
Merged

Conversation

tonistiigi
Copy link
Member

Seems to be slightly faster. How much depends on the system but at least don't see it hurting performance.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

@@ -133,7 +133,7 @@ FROM scratch AS release
COPY --from=releaser /out/ /

FROM git AS buildkit-export
RUN apk add --no-cache fuse3 && ln -s fusermount3 /usr/bin/fusermount
RUN apk add --no-cache fuse3 pigz && ln -s fusermount3 /usr/bin/fusermount
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have this for rootless as well?

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@@ -283,7 +283,7 @@ RUN ./autogen.sh --disable-nls --disable-man --without-audit --without-selinux -

# Rootless mode.
FROM alpine AS rootless
RUN apk add --no-cache fuse3 git xz
RUN apk add --no-cache fuse3 git xz pigz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit (if you need to update for other changes); could you keep this list sorted?

@tonistiigi tonistiigi merged commit 5ebb088 into moby:master Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants