equal
deleted
inserted
replaced
95 ["/usr/bin/docker", "build", "-t", tag, "."], verbose=True).run() |
95 ["/usr/bin/docker", "build", "-t", tag, "."], verbose=True).run() |
96 DockerSupportCmd( |
96 DockerSupportCmd( |
97 ["/usr/bin/docker", "tag", tag, "solaris:latest"]).run() |
97 ["/usr/bin/docker", "tag", tag, "solaris:latest"]).run() |
98 except Exception as err: |
98 except Exception as err: |
99 raise SystemExit("Failed image build: %s" % err) |
99 raise SystemExit("Failed image build: %s" % err) |
|
100 |
|
101 assert os.path.exists("rootfs.tar.gz") |
|
102 os.unlink("rootfs.tar.gz") |
100 print "Build complete." |
103 print "Build complete." |
101 |
104 |
102 |
105 |
103 def build_parser(): |
106 def build_parser(): |
104 parser_main = argparse.ArgumentParser() |
107 parser_main = argparse.ArgumentParser() |