Skip to content
This repository has been archived by the owner on Feb 11, 2019. It is now read-only.

Reduce disk usage #5

Open
guyou opened this issue Dec 19, 2015 · 1 comment
Open

Reduce disk usage #5

guyou opened this issue Dec 19, 2015 · 1 comment

Comments

@guyou
Copy link

guyou commented Dec 19, 2015

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.

@dashohoxha
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants