clearcontainers / osbuilder

Clear Containers guest OS building scripts
20 stars 12 forks source link

Add support for customizing the packages installed in the rootfs #3

Closed mcastelino closed 6 years ago

mcastelino commented 7 years ago

Today we install a very limited set of packages in the rootfs so that we have smallest image possible. However in the case of debug additional packages will be needed.

For example in the case of adding base networking test capability to the image we need to manually change the script

$DNF install systemd hyperstart cc-oci-runtime-extras coreutils systemd-bootchart

to

$DNF install systemd hyperstart cc-oci-runtime-extras coreutils systemd-bootchart iputils

We should support something along the lines of

$DNF install systemd hyperstart cc-oci-runtime-extras coreutils systemd-bootchart $EXTRA_PACKAGES
jcvenegas commented 6 years ago

This is already supported.