From 52034b0c246b00f06c79b2f1b2e968dc905bb5e6 Mon Sep 17 00:00:00 2001 From: Maciej Kaszynski Date: Thu, 26 Mar 2026 12:45:58 +0100 Subject: [PATCH] Making upload of symlinked file work on docker --- score/itf/plugins/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/score/itf/plugins/docker.py b/score/itf/plugins/docker.py index 895ef28..5323e21 100644 --- a/score/itf/plugins/docker.py +++ b/score/itf/plugins/docker.py @@ -189,7 +189,7 @@ def upload(self, local_path: str, remote_path: str) -> None: remote_name = os.path.basename(remote_path) tar_stream = io.BytesIO() - with tarfile.open(fileobj=tar_stream, mode="w") as tar: + with tarfile.open(fileobj=tar_stream, mode="w", dereference=True) as tar: tar.add(local_path, arcname=remote_name) tar_stream.seek(0)