forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync before executing a process if running in Docker (pantsbuild#10568)
### Problem As described in pantsbuild#10507 we suspect that use of docker and AUFS results in a need for heavier handed measures for syncing files to the filesystem before executing them. Various other strategies were tried and ruled out in pantsbuild#10557. ### Solution If we detect that we are probably running in docker or an LXC container, spawn a `sync` process before executing. ### Result Fixes pantsbuild#10507. [ci skip-build-wheels]
- Loading branch information
Showing
1 changed file
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters