summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2017-11-15 14:08:42 +0000
committerTristan Maat <tristan.maat@codethink.co.uk>2017-11-15 14:08:46 +0000
commitdd7f8c43ce81dae3af51af2281174b0894ef7f84 (patch)
tree6728f81c29fbd750811282a6c9ba92bc03dc0057
parent1a086dc9813d1416a0a54e3dcd75eaa8ef5f9a5d (diff)
downloadbuildstream-except_intersections.tar.gz
-rwxr-xr-xcontrib/bst-here6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/bst-here b/contrib/bst-here
index 6b4e6b2f7..a88a63576 100755
--- a/contrib/bst-here
+++ b/contrib/bst-here
@@ -66,12 +66,16 @@ fi
exec docker run --rm -i${is_tty:+ -t} \
--cap-add SYS_ADMIN \
+ --cap-add SYS_CHROOT \
+ --cap-add NET_ADMIN \
+ --cap-add SETUID \
+ --cap-add SETGID \
--env PS1="$BST_HERE_PS1" \
--device /dev/fuse \
--security-opt seccomp=unconfined \
--volume buildstream-cache:/root/.cache/buildstream \
--volume buildstream-config:/root/.config \
- --volume "$PWD":/src \
+ --volume "$PWD":/src:Z \
--workdir /src \
buildstream/buildstream-fedora:latest \
$command