starting attempt at refactoring docker scripts with fig