Add Devcontainer support

Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu>
This commit is contained in:
Timothy Middelkoop
2025-01-08 21:26:23 +00:00
parent bdaaf903be
commit 64084a471b
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "Warewulf Development",
"image": "registry.docker.com/library/rockylinux:9",
"remoteUser": "vscode",
"onCreateCommand": "sudo dnf install -y dnf-utils && sudo dnf config-manager --set-enabled crb && sudo dnf install -y unzip cpio gpgme-devel python3-sphinx python3-sphinx_rtd_theme",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/go:1": {
"version": "latest"
}
},
"customizations": {
"vscode": {
"extensions": [
"golang.go",
"ms-vscode.makefile-tools"
]
}
}
}