def prepare_required_docker_images():
<EOL>images = [<EOL>{'<STR_LIT:image>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'},<EOL>{'<STR_LIT:image>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'},<EOL>{'<STR_LIT:image>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'}<EOL>]<EOL>ip = local("<STR_LIT>"<EOL>"<STR_LIT>", capture=True)<EOL>env.docker_host = os.environ.get('<STR_LIT>', '<STR_LIT>' % ip)<EOL>env.password = '<STR_LIT:root>'<EOL>env.user = '<STR_LIT:root>'<EOL>for item in images:<EOL><INDENT>if item['<STR_LIT:image>'] not in local('<STR_LIT>', capture=True):<EOL><INDENT>print('<STR_LIT>' % item['<STR_LIT:image>'])<EOL>build_docker_image(<EOL>image=item['<STR_LIT:image>'],<EOL>base_image=item['<STR_LIT>'],<EOL>distribution=item['<STR_LIT>']<EOL>)<EOL><DEDENT><DEDENT>
setups the required docker instances and fabric settings