Skip to content

Commit 085ef63

Browse files
committed
try remove tag for windows.
1 parent 689db1d commit 085ef63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/ssh_test_utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,12 @@ def setup_project_and_container_for_ssh(project):
101101
image_path = Path(__file__).parent / "ssh_test_images"
102102
os.chdir(image_path)
103103

104+
# TODO: tidy
104105
add_sudo = "sudo" if platform.system() == "Linux" else ""
106+
add_tag = "-t" if platform.system() == "Linux" else ""
105107

106108
build_output = subprocess.run(
107-
f"{add_sudo} docker build -t ssh_server .",
109+
f"{add_sudo} docker build {add_tag} ssh_server .",
108110
shell=True,
109111
capture_output=True,
110112
)

0 commit comments

Comments
 (0)