Use chroot isolation for Buildah
Some checks failed
Some checks failed
This commit is contained in:
@@ -22,4 +22,5 @@ jobs:
|
|||||||
|
|
||||||
# Buildah needs some storage configuration tweaks for running inside a container
|
# Buildah needs some storage configuration tweaks for running inside a container
|
||||||
# We use the 'vfs' driver which is slow but works reliably inside containers without special privileges
|
# We use the 'vfs' driver which is slow but works reliably inside containers without special privileges
|
||||||
buildah build --storage-driver=vfs -t test-image .
|
# We use '--isolation=chroot' to avoid cgroup permission issues inside the runner container
|
||||||
|
buildah build --storage-driver=vfs --isolation=chroot -t test-image .
|
||||||
|
|||||||
Reference in New Issue
Block a user