Skip to content

[reprounzip-docker] copy extracted DATA directory instead of data.tgz #274

@kaczmarj

Description

@kaczmarj

Hello,

Regarding reprounzip docker, you can achieve smaller image sizes by copying over the untarred DATA directory instead of copying and then extracting data.tgz. The delta image size is the size of data.tgz. Is there a reason to have data.tgz inside the image?

Also, all of the COPY instructions can be merged into one, because they copy into the same directory (/). The Dockerfile could look like this:

FROM debian:stretch
COPY busybox DATA rpz-files.list rpzsudo /
RUN chmod +x /busybox /rpzsudo

If this looks OK, I would be more than happy to submit a PR.

Thanks,
Jakub

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-unpackers/dockerComponent: The Docker unpackerT-enhancementType: En enhancement to existing code, or a new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions