-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder/chroot: Use ChrootShell() instead of ChrootExecStdin()
With ChrootShell() we can drop usage of the chroot binary, as well as choose the initial workdir to spawn in to. As the files are now build as root, they are owned by root so chroot as root but start at the buildUser home directory.
- Loading branch information
1 parent
aebc307
commit 2a9786f
Showing
2 changed files
with
17 additions
and
20 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