equal
deleted
inserted
replaced
456 def has_osx(): |
456 def has_osx(): |
457 return sys.platform == 'darwin' |
457 return sys.platform == 'darwin' |
458 |
458 |
459 @check("docker", "docker support") |
459 @check("docker", "docker support") |
460 def has_docker(): |
460 def has_docker(): |
461 pat = r'A self-sufficient runtime for linux containers\.' |
461 pat = r'A self-sufficient runtime for' |
462 if matchoutput('docker --help', pat): |
462 if matchoutput('docker --help', pat): |
463 if 'linux' not in sys.platform: |
463 if 'linux' not in sys.platform: |
464 # TODO: in theory we should be able to test docker-based |
464 # TODO: in theory we should be able to test docker-based |
465 # package creation on non-linux using boot2docker, but in |
465 # package creation on non-linux using boot2docker, but in |
466 # practice that requires extra coordination to make sure |
466 # practice that requires extra coordination to make sure |