mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
c82d2de6b0
This simplifies the devcontainer using the builder image as the base and adding the common-utils feature (which takes care of creating the vscode user and more).
20 lines
392 B
JSON
20 lines
392 B
JSON
{
|
|
"name": "Terra Devcontainer",
|
|
"image": "ghcr.io/terrapkg/builder:frawhide",
|
|
"runArgs": [
|
|
"--privileged"
|
|
],
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/common-utils:2": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rhaiscript.vscode-rhai"
|
|
]
|
|
}
|
|
},
|
|
"remoteUser": "vscode",
|
|
"onCreateCommand": "sudo usermod -a -G mock vscode"
|
|
}
|