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)