refactor bootstrap so that docker file installs rpm separately