rootstrap

Tool for building complete Linux filesystem images

Debian Debian
RUN apt-get update && \ apt-get install -y rootstrap
Ubuntu
RUN apt-get update && \ apt-get install -y rootstrap
click the source code to copy install rootstrap on any operating system with command-not-found.com