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:
parent
51bb4ea3a1
commit
a936c44d24
1 changed files with 7 additions and 1 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue