Initial commit for the Development Container config
This commit adds a .devcontainer directory, with the Dockerfile in the configuration told to use the Dockerfile in the parent directory. Using Development Containers means the environment is reproducible on developer machines, and reduces the barrier to entry for development. It also allows GitHub Codespaces to be used. Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
parent
b63fe2481e
commit
533b8b39e2
2 changed files with 17 additions and 0 deletions
16
.devcontainer/devcontainer.json
Normal file
16
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "Open PineBuds Pro - VS Code Development Environment",
|
||||
"build": {
|
||||
"dockerfile": "../Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"extensions": [
|
||||
"ms-vscode.cmake-tools",
|
||||
"ms-vscode.cpptools"
|
||||
],
|
||||
"runArgs": [
|
||||
"--privileged"
|
||||
],
|
||||
"userEnvProbe": "loginInteractiveShell",
|
||||
"remoteUser": "root"
|
||||
}
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,6 +19,7 @@
|
|||
!.gitattributes
|
||||
!.mailmap
|
||||
!.github
|
||||
!.devcontainer
|
||||
|
||||
# Backup files
|
||||
*~
|
||||
|
|
Loading…
Reference in a new issue