Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve resources and attributes when copying stripped binaries
When asked to strip binaries when copying to containers we now strip to a temporary file, copy over resources to it, copy it to the container, then copy the attributes from the original source. This should allow stripping binaries while preserving attributes and resources even when copying to images.
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
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
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