debian-forge-composer/.devcontainer/devcontainer.json
Christian Kellner a936c44d24 devcontainer: run container with privileges
Needed to actually execute osbuild in the container, since it
needs to mount and access loop devices.
2021-08-28 09:20:19 +02:00

17 lines
No EOL
295 B
JSON

{
"name": "ComposerBuilder",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"mounts": [
"source=osbuild-share,target=/root/.local/share,type=volume"
],
"runArgs": [
"--privileged"
],
"extensions": [
"laurenttreguier.rpm-spec",
"golang.Go"
]
}