devcontainer: run container with privileges

Needed to actually execute osbuild in the container, since it
needs to mount and access loop devices.
This commit is contained in:
Christian Kellner 2021-08-18 12:53:38 +00:00 committed by Tom Gundersen
parent 51bb4ea3a1
commit a936c44d24

View file

@ -4,8 +4,14 @@
"dockerfile": "Dockerfile",
"context": ".."
},
"mounts": [
"source=osbuild-share,target=/root/.local/share,type=volume"
],
"runArgs": [
"--privileged"
],
"extensions": [
"laurenttreguier.rpm-spec",
"golang.Go"
]
}
}