Skip to content

Commit

Permalink
feat: Added docker pip cache support for macOS (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
moduspwnens authored Aug 30, 2021
1 parent b5e26aa commit 9f99b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def docker_run_command(build_root, command, runtime,
'-e', 'SSH_AUTH_SOCK=/tmp/ssh_sock',
])

if platform.system() == 'Linux':
if platform.system() in ('Linux', 'Darwin'):
if pip_cache_dir:
pip_cache_dir = os.path.abspath(pip_cache_dir)
docker_cmd.extend([
Expand Down

0 comments on commit 9f99b85

Please sign in to comment.