Skip to content

Commit 9f99b85

Browse files
authored
feat: Added docker pip cache support for macOS (#192)
1 parent b5e26aa commit 9f99b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ def docker_run_command(build_root, command, runtime,
981981
'-e', 'SSH_AUTH_SOCK=/tmp/ssh_sock',
982982
])
983983

984-
if platform.system() == 'Linux':
984+
if platform.system() in ('Linux', 'Darwin'):
985985
if pip_cache_dir:
986986
pip_cache_dir = os.path.abspath(pip_cache_dir)
987987
docker_cmd.extend([

0 commit comments

Comments
 (0)