Loading contaminate/podman.py +2 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,8 @@ def build(name : str, # FROM --platform=linux/amd64 {name} Path(fname).write_text( f"FROM {name} as base\n{cmds}\n") print(f"Created dockerfile: {fname}") #print(f"Created dockerfile: {fname}") #print(Path(fname).read_text()) ans = runcmd("podman", "build", "--net", "host", "-t", newname, "-f", fname, ".") os.close(fd) Loading Loading
contaminate/podman.py +2 −1 Original line number Diff line number Diff line Loading @@ -70,7 +70,8 @@ def build(name : str, # FROM --platform=linux/amd64 {name} Path(fname).write_text( f"FROM {name} as base\n{cmds}\n") print(f"Created dockerfile: {fname}") #print(f"Created dockerfile: {fname}") #print(Path(fname).read_text()) ans = runcmd("podman", "build", "--net", "host", "-t", newname, "-f", fname, ".") os.close(fd) Loading