Please reference to following :

https://medium.com/@trungnv.hut/how-to-build-a-specific-image-for-trove-openstack-database-as-a-service-ae0ecf738eaf