Skip to content

Commit

Permalink
fix(buildah): use native-chroot isolation by default with buildah bac…
Browse files Browse the repository at this point in the history
…kend

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed May 23, 2023
1 parent b67a8ed commit fdfc558
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/buildah/common.go
Expand Up @@ -253,10 +253,7 @@ func GetFuseOverlayfsOptions() ([]string, error) {
}

func GetDefaultIsolation() (thirdparty.Isolation, error) {
if util.IsInContainer() {
return thirdparty.IsolationChroot, nil
}
return thirdparty.IsolationOCIRootless, nil
return thirdparty.IsolationChroot, nil
}

func debug() bool {
Expand Down

0 comments on commit fdfc558

Please sign in to comment.