We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5881988 commit 71f4e0aCopy full SHA for 71f4e0a
ci_test.py
@@ -20,6 +20,7 @@
20
def run_command(cmd):
21
print("Running: {}".format(cmd))
22
p = subprocess.Popen(cmd, shell=True)
23
+ (output, err) = p.communicate()
24
return p.wait()
25
26
@@ -52,7 +53,7 @@ def main():
52
53
print("Testing {}".format(dockerfile))
54
log_file = dockerfile.replace(docker_dir,"").replace("/", "_")
55
log_file = "{}.log".format(log_file)
- cmd = "docker build --no-cache {} &> {}".format(dockerfile, log_file)
56
+ cmd = "docker build --no-cache=true {} &> {}".format(dockerfile, log_file)
57
status = run_command(cmd)
58
results[dockerfile] = status
59
if status != 0:
0 commit comments