镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Feb 11, 2019. It is now read-only.
This repository was archived by the owner on Feb 11, 2019. It is now read-only.

Reduce disk usage #5

Open
Open

Description

@guyou

Hi,

I would suggest a small optimization. It is possible to avoid creating the debian.tgz by simply piping the tar creation and the docker import:

tar cz -C $chroot_dir . | docker import - $docker_image

Hope that help.

Activity

  1. dashohoxha commented on Dec 19, 2015

    @dashohoxha
    Contributor

    I think that it is space+time optimization vs code readability.
    Anyway, if you have tested this and you submit a patch (or pull request) I can merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions