Created
May 26, 2016 21:03
-
-
Save harlowja/953128db5c98dfa02684b524fdafbd7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Copy(object): | |
def __init__(self, builder): | |
pass | |
def __str__(self): | |
return '' | |
class Builder(object): | |
def __init__(self): | |
self._native_commands = [] | |
def add_native(self, cmd): | |
self._native_commands.append(cmd) | |
return self | |
def to_docker(self): | |
return '' | |
d = Builder(). | |
add_native(Copy). | |
add_native(Copy). | |
add_native(Run). | |
add_native... | |
.set_distro(Distro('centos7', 7). | |
add_repo(). | |
add_repo(). | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment