Source code for cfme.utils.dockerbot.build_container
import subprocess
import sys
import py
[docs]def main():
here = py.path.local(__file__).dirpath()
sys.exit(subprocess.call([
'docker', 'build', '-t', 'py_test_base', str(here / 'pytestbase')
]))
if __name__ == "__main__":
main()