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:
Dom Rodriguez 2023-01-03 20:47:48 +00:00
parent b63fe2481e
commit 533b8b39e2
No known key found for this signature in database
GPG key ID: 72DCF1231E54BD43
2 changed files with 17 additions and 0 deletions

View 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
View file

@ -19,6 +19,7 @@
!.gitattributes
!.mailmap
!.github
!.devcontainer
# Backup files
*~